Skip to content

Commit

Permalink
CI: Add job to test against Mesa pre-releases
Browse files Browse the repository at this point in the history
Add a job to the Mesa-examples CI configuration to explicitly test against Mesa pre-releases. This could help detect regressions between the stable release and latest pre-release, or between the latest pre-release and main branch.

It basically narrows the search range if one of jobs fail.
  • Loading branch information
EwoutH authored and rht committed Jul 6, 2024
1 parent 7731c80 commit f3dcdd7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@ jobs:
- name: Test with pytest
run: pytest test_examples.py

build-pre:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
pip install mesa --pre
pip install pytest
- name: Test with pytest
run: pytest test_examples.py

build-main:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f3dcdd7

Please sign in to comment.