Skip to content

Commit 4993391

Browse files
committed
CI: Bypass pytest-xvfb and use xvfb-action instead
1 parent e700a99 commit 4993391

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ jobs:
9292
- name: Install test dependencies
9393
run: python -m pip install "niworkflows[tests]"
9494
- name: Run tests
95-
run: pytest -sv --doctest-modules --cov niworkflows niworkflows
95+
uses: GabrielBB/xvfb-action@v1
96+
with:
97+
run: pytest -sv --no-xvfb --doctest-modules --cov niworkflows niworkflows
9698

9799
flake8:
98100
if: "!contains(github.event.head_commit.message, '[skip ci]')"

0 commit comments

Comments
 (0)