Skip to content

Commit

Permalink
GitHub Actions: Add Python 3.13 to the testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Oct 16, 2024
1 parent 5d9d604 commit bfac4a1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
exclude:
# Python 3.8 and 3.9 are not available on macOS 14
- os: macos-13
Expand All @@ -77,6 +77,8 @@ jobs:
python-version: '3.11'
- os: macos-13
python-version: '3.12'
- os: macos-13
python-version: '3.13'
- os: macos-latest
python-version: '3.8'
- os: macos-latest
Expand Down Expand Up @@ -104,8 +106,8 @@ jobs:
# display coverage and fail if it's below 80%, which shouldn't happen
- run: coverage report --fail-under=80

# test demo on 3.11 and 3.12, these tests are intentionally omitted from coverage
- if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
# test demo on >= 3.11, these tests are intentionally omitted from coverage
- if: matrix.python-version == '3.11' || matrix.python-version == '3.12' || matrix.python-version == '3.13'
run: pytest demo/tests.py

- run: coverage xml
Expand Down Expand Up @@ -157,7 +159,7 @@ jobs:
with:
python-version: '3.11'

- run: pip install -U build
- run: pip install --upgrade build

- id: check-version
uses: samuelcolvin/[email protected]
Expand Down

0 comments on commit bfac4a1

Please sign in to comment.