Skip to content

Commit fee6b71

Browse files
committed
Run tests with packaging 24.0 in CI
1 parent 62b3769 commit fee6b71

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/main.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ jobs:
4747
- ubuntu-latest
4848
- macos-latest
4949
- windows-latest
50+
tox-environment:
51+
- py
52+
include:
53+
# Test with the oldest supported ``packaging`` version.
54+
- platform: ubuntu-latest
55+
python-version: "3.9"
56+
tox-environment: py-packaging240
5057
runs-on: ${{ matrix.platform }}
5158
steps:
5259
- uses: actions/[email protected]
@@ -58,7 +65,7 @@ jobs:
5865
- name: Run type-checking
5966
run: python -m tox -e types
6067
- name: Run tests
61-
run: python -m tox -e py
68+
run: python -m tox -e ${{ matrix.tox-environment }}
6269

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

0 commit comments

Comments
 (0)