Skip to content

Commit aa505fb

Browse files
committed
CI: run tests with oldest support pyproject-metadata
pyproject-metadata 0.8.0 has been released, keep one CI job testing with the oldest supported version to ensure regressions are not introduced.
1 parent c9d1c2d commit aa505fb

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949
- '3.12'
5050
meson:
5151
-
52+
pyproject_metadata:
53+
-
5254
include:
5355
- os: ubuntu
5456
python: 'pypy-3.9'
@@ -88,6 +90,10 @@ jobs:
8890
- os: windows
8991
python: '3.12'
9092
meson: '@git+https://github.com/mesonbuild/meson.git'
93+
# Test with oldest supported pyproject-metadata
94+
- os: ubuntu
95+
python: '3.12'
96+
pyproject_metadata: '==0.7.1'
9197

9298
steps:
9399
- name: Checkout
@@ -114,8 +120,13 @@ jobs:
114120
run: python -m pip install "meson ${{ matrix.meson }}"
115121
if: ${{ matrix.meson }}
116122

123+
- name: Install pyproject-metadata
124+
run: python -m pip install "pyproject-metadata ${{ matrix.pyproject_metadata }}"
125+
if: ${{ matrix.pyproject_metadata }}
126+
117127
- name: Install
118-
run: python -m pip install .[test]
128+
run: |
129+
python -m pip install .[test]
119130
120131
- name: Run tests
121132
run: >-

0 commit comments

Comments
 (0)