Skip to content

Commit e0006e1

Browse files
committed
chore(pytest): simplify and speed-up the job
1 parent 316b97b commit e0006e1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/pytest.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,13 @@ jobs:
4747

4848
- name: Install dependencies
4949
run: |
50-
python -m pip install 'pip==25.0.1'
51-
pip install -e .[dev]
52-
53-
- name: Install apt packages
54-
run: |
55-
sudo apt-get update
56-
sudo apt-get install -y xvfb
50+
pip install .[dev]
5751
5852
- name: Test with pytest
5953
id: pytest
6054
continue-on-error: false
6155
run: |
56+
export LIBGL_ALWAYS_SOFTWARE=1
6257
export DISPLAY=:99
6358
Xvfb :99 -screen 0 1024x768x16 &
6459
pytest --cov=ardupilot_methodic_configurator --cov-report=xml:tests/coverage.xml --md=tests/results-${{ matrix.python-version }}.md --junit-xml=tests/results-junit.xml

0 commit comments

Comments
 (0)