Skip to content

Extend CI, test more Meson versions and minimum dependency versions #740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- '3.13'
meson:
-
pyproject_metadata:
dependencies:
-
include:
- os: ubuntu-latest
Expand All @@ -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'
Expand All @@ -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'
Expand Down Expand Up @@ -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]
Expand Down
Loading