Skip to content

Commit c6c2a23

Browse files
authored
Use xvfb to run test
1 parent 9c8bb07 commit c6c2a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v2
1818

1919
- name: Setup
20-
run: sudo apt-get install qtbase5-dev
20+
run: sudo apt-get install qtbase5-dev xvfb
2121

2222
- name: Build
2323
run: |
@@ -26,4 +26,4 @@ jobs:
2626
2727
- name: Test
2828
working-directory: ${{github.workspace}}/build
29-
run: make test CTEST_OUTPUT_ON_FAILURE=1
29+
run: xvfb-run make test CTEST_OUTPUT_ON_FAILURE=1

0 commit comments

Comments
 (0)