Skip to content

Commit a6115d3

Browse files
committed
Use xvfb on CT tests on ubuntu, and disable shortcut tests on windows
1 parent 052b828 commit a6115d3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/CI-ubuntu.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,8 @@ jobs:
352352
source venv/bin/activate
353353
python -c "import fast;fast.downloadTestDataIfNotExists()"
354354
- name: Run tests
355-
env:
356-
DISPLAY: ':1'
357355
run: |
358-
#Xvfb "$DISPLAY" -screen 0 1024x768x24 &
359356
cd ${{github.workspace}}/tmp/
360357
source venv/bin/activate
361-
pytest ../source/FAST/ -v
358+
xvfb-run pytest ../source/FAST/ -v
362359

.github/workflows/CI-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ jobs:
308308
cd ${{github.workspace}}
309309
python -m pip install pytest numpy
310310
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
311-
pytest source/FAST/ -v
311+
pytest source/FAST/ -v -k 'not test_shortcuts'
312312
313313
# Seg faults for some reason:
314314
# test-cpp:

0 commit comments

Comments
 (0)