Skip to content

Commit

Permalink
Run tests with packaging 24.0 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Jan 22, 2025
1 parent 0190c55 commit 71addd7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest
tox-environment:
- py
include:
# Test with the oldest supported ``packaging`` version.
- platform: ubuntu-latest
python-version: "3.8"
tox-environment: py-packaging240
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/[email protected]
Expand All @@ -59,7 +66,7 @@ jobs:
- name: Run type-checking
run: python -m tox -e types
- name: Run tests
run: python -m tox -e py
run: python -m tox -e ${{ matrix.tox-environment }}

# Because the tests can be flaky, they shouldn't be required for merge, but
# it's still helpful to run them on PRs. See:
Expand Down

0 comments on commit 71addd7

Please sign in to comment.