diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 08bbe00a..9dfd8188 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,7 +54,7 @@ jobs: - '3.13' meson: - - pyproject_metadata: + dependencies: - include: - os: ubuntu-latest @@ -70,6 +70,8 @@ jobs: # Test with older supported Meson version. Meson up to # version 1.2.3 requires distutils, which has been removed # from the stdlib in Python 3.12, thus test with Pythn 3.11. + # To avoid having too many CI jobs, combine this with tests + # with the minimum version of other dependencies. - os: ubuntu-latest python: '3.11' meson: '~=0.64.0' @@ -91,6 +93,15 @@ jobs: - os: ubuntu-latest python: '3.12' meson: '~=1.5.0' + dependencies: 'packaging==23.2 pyproject-metadata==0.9.0' + - os: ubuntu-latest + python: '3.12' + meson: '~=1.6.0' + dependencies: 'pyproject-metadata==0.9.0' + - os: ubuntu-latest + python: '3.12' + meson: '~=1.7.0' + dependencies: 'packaging==23.2' # Test with Meson master branch. - os: ubuntu-latest python: '3.12' @@ -124,9 +135,9 @@ jobs: run: python -m pip install "meson ${{ matrix.meson }}" if: ${{ matrix.meson }} - - name: Install pyproject-metadata - run: python -m pip install "pyproject-metadata ${{ matrix.pyproject_metadata }}" - if: ${{ matrix.pyproject_metadata }} + - name: Install dependencies + run: python -m pip install ${{ matrix.dependencies }} + if: ${{ matrix.dependencies }} - name: Install run: python -m pip install .[test]