Skip to content

Commit f863647

Browse files
ci: replace coactions/setup-xvfb with xvfb-run
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
1 parent 6f5256c commit f863647

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Install Qt dependencies
5656
run: |
5757
sudo apt-get update
58-
sudo apt-get install -y libegl1 libxkbcommon0 libxcb-cursor0
58+
sudo apt-get install -y libegl1 libxkbcommon0 libxcb-cursor0 xvfb
5959
6060
- name: Install package
6161
run: pip install -e ".[dev]"
@@ -64,9 +64,7 @@ jobs:
6464
run: pip install ${{ matrix.qt-binding }}
6565

6666
- name: Run tests
67-
uses: coactions/setup-xvfb@v1.0.1
68-
with:
69-
run: pytest tests/unit/ tests/integration/${{ matrix.qt-binding }}/ tests/test_functional.py --cov --cov-report=xml
67+
run: xvfb-run pytest tests/unit/ tests/integration/${{ matrix.qt-binding }}/ tests/test_functional.py --cov --cov-report=xml
7068

7169
- name: Upload coverage to Codecov
7270
uses: codecov/codecov-action@v6.0.0

0 commit comments

Comments
 (0)