Skip to content

Commit

Permalink
Script fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed May 15, 2024
1 parent ad882a0 commit ac84acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
- name: Compile World Host
run: ./gradlew :${{ matrix.subproject }}:classes
- name: Run tests
run: xvfb-run -a -s "-screen 0 1920x1080x24" ./runTests.sh
run: xvfb-run -a -s "-screen 0 1920x1080x24" ./runTests.sh ${{ matrix.subproject }}
2 changes: 1 addition & 1 deletion runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $host_pid = $!
$joiner_pid = $!
wait $host_pid
$code = $?
if [ $host_pid -ne 0 ]; then
if [ "$code" -ne 0 ]; then
exit $code
fi
exit $(wait $joiner_pid)

0 comments on commit ac84acf

Please sign in to comment.