Skip to content

Commit 1f87721

Browse files
committed
CI: fix gui tests error
1 parent 35812c8 commit 1f87721

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/cross_release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ jobs:
2222
- name: Install Dependencies
2323
run: pip install -r requirements.txt
2424

25-
- name: Run Tests
26-
run: pytest --cov=solver --cov=parser --cov=plotter
25+
- name: Install Xvfb for GUI tests
26+
run: sudo apt-get install -y xvfb
27+
28+
- name: Run Tests in Virtual Display
29+
run: xvfb-run --auto-servernum pytest --cov=solver --cov=parser --cov=plotter
2730

2831
build:
2932
needs: test

0 commit comments

Comments
 (0)