Skip to content

Commit 71addd7

Browse files
committed
Run tests with packaging 24.0 in CI
1 parent 0190c55 commit 71addd7

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
@@ -48,6 +48,13 @@ jobs:
4848
- ubuntu-latest
4949
- macos-latest
5050
- windows-latest
51+
tox-environment:
52+
- py
53+
include:
54+
# Test with the oldest supported ``packaging`` version.
55+
- platform: ubuntu-latest
56+
python-version: "3.8"
57+
tox-environment: py-packaging240
5158
runs-on: ${{ matrix.platform }}
5259
steps:
5360
- uses: actions/checkout@v4.2.2
@@ -59,7 +66,7 @@ jobs:
5966
- name: Run type-checking
6067
run: python -m tox -e types
6168
- name: Run tests
62-
run: python -m tox -e py
69+
run: python -m tox -e ${{ matrix.tox-environment }}
6370

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

0 commit comments

Comments
 (0)