feat: abyss trial spawner #276
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI (Game Tests) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| game-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| cache: gradle | |
| - name: Make gradle wrapper executable | |
| run: chmod +x ./gradlew | |
| - name: Run game tests | |
| id: game_test | |
| run: | | |
| set +e | |
| ./gradlew runGameTestServer --no-daemon 2>&1 | tee test_output.log | |
| TEST_EXIT_CODE=${PIPESTATUS[0]} | |
| exit $TEST_EXIT_CODE | |
| - name: Upload test logs | |
| if: always() | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: game-test-logs | |
| path: test_output.log | |
| retention-days: 1 |