Skip to content

Commit

Permalink
Update Python versions and passing check in python-package.yml (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbarnha authored Nov 5, 2023
1 parent c0aa581 commit 96b6267
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,21 @@ jobs:
name: "Run tests with Python ${{ matrix.python-version }}"
runs-on: "ubuntu-latest"

continue-on-error: ${{ matrix.experimental }}
strategy:
# Complete all jobs even if one fails
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.9"]
python-version:
- "pypy3.9"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
experimental: [ false ]
include:
- python-version: "~3.13.0-0"
experimental: true

steps:
- uses: actions/checkout@v3
Expand All @@ -41,3 +51,15 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

check: # This job does nothing and is only used for the branch protection
name: ✅ Ensure the required checks passing
if: always()
needs:
- tests
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit 96b6267

Please sign in to comment.