Skip to content

Commit

Permalink
Update Python versions in CI workflow to include 3.13
Browse files Browse the repository at this point in the history
Dropped testing for Python 3.7 and updated workflows to use Python 3.12 for documentation, distribution, and coverage steps instead of 3.10. Adjustments ensure compatibility with the latest supported Python versions.
  • Loading branch information
Jochem Berends committed Jan 22, 2025
1 parent 8609c73 commit bd58335
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
max-parallel: 6
fail-fast: False
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand All @@ -26,12 +26,12 @@ jobs:
pip install -r requirements-ci.txt
- name: Perform Testing
if: matrix.python-version != 3.10
if: matrix.python-version != 3.12
run: |
pytest -n auto tests
- name: Check docs and distribution
if: matrix.python-version == 3.10
if: matrix.python-version == 3.12
run: |
pip install flake8 pydocstyle check-manifest readme_renderer[md] twine>=2.0.0
Expand All @@ -42,7 +42,7 @@ jobs:
twine check dist/*
- name: Perform coverage tests and upload to coveralls.io
if: matrix.python-version == 3.10
if: matrix.python-version == 3.12
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand Down

0 comments on commit bd58335

Please sign in to comment.