Skip to content

Commit

Permalink
fix: added mesa install
Browse files Browse the repository at this point in the history
  • Loading branch information
MicheleDelliVeneri committed Jul 2, 2024
1 parent ee118e7 commit 182e5e5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
pip install .
- name: Run stubtest
run: |
sudo apt-get install -y libgl1-mesa-glx
chmod +x ./run_stubtest
./run_stubtest
Expand Down Expand Up @@ -82,7 +83,9 @@ jobs:
cd illustris_python
pip install .
- name: Test with pytest
run: pytest
run: |
sudo apt-get install -y libgl1-mesa-glx
pytest
tests-and-coverage:
needs: lint
Expand Down Expand Up @@ -114,7 +117,9 @@ jobs:
cd illustris_python
pip install .
- name: Test with pytest including coverage report
run: pytest --cov=./ --cov-report=xml
run: |
sudo apt-get install -y libgl1-mesa-glx
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
Expand Down

0 comments on commit 182e5e5

Please sign in to comment.