Skip to content

Commit

Permalink
Use xvfb-run
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed May 14, 2024
1 parent b7e8868 commit 99eb975
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,9 @@ jobs:
java-version: 21
- name: Compile World Host
run: ./gradlew :${{ matrix.subproject }}:classes
- name: Launch Xvfb
run: screen -d -m Xvfb :1 -screen 0 1920x1080x24
- name: Run tests
run: |
xvfb-run -a -s "-screen 0 1920x1080x24" "
./gradlew :${{ matrix.subproject }}:runTestHost --stacktrace &
./gradlew :${{ matrix.subproject }}:runTestJoiner --stacktrace &&
fg
- name: Stop Xvfb
run: screen -X quit
fg"

0 comments on commit 99eb975

Please sign in to comment.