Skip to content

Commit

Permalink
add pull_request to CI and remove py36, 37
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaelicke committed Aug 22, 2024
1 parent b1dd7d5 commit f5224f8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Test and build docs

on: push
on:
- push
- pull_request

jobs:
test:
name: Run Unittest
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
python: ['3.9', '3.10', '3.11', '3.12']

steps:
- name: Checkout
Expand Down Expand Up @@ -78,7 +80,7 @@ jobs:

release:
name: Create Github release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: test
if: startsWith(github.event.ref, 'refs/tags/v') && endsWith(github.event.ref, '.0')

Expand All @@ -94,7 +96,7 @@ jobs:

publish:
name: Publish to PyPi
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: test
if: startsWith(github.event.ref, 'refs/tags/v')

Expand All @@ -118,7 +120,7 @@ jobs:

ci_develop:
name: Print Github Context for Development
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: true

steps:
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions requirements.unittest.3.8.txt

This file was deleted.

0 comments on commit f5224f8

Please sign in to comment.