diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2022-02-23 13:03:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-23 06:03:46 +0100 |
commit | d246612148b9b6dfaa4dfabd399f077ea0544096 (patch) | |
tree | a96dab0db8900faf6e344c1a1c7b58549c3cead3 /.github/workflows | |
parent | 7252f84377957aadcbb3b64b1b369209f1846e95 (diff) | |
download | GT5-Unofficial-d246612148b9b6dfaa4dfabd399f077ea0544096.tar.gz GT5-Unofficial-d246612148b9b6dfaa4dfabd399f077ea0544096.tar.bz2 GT5-Unofficial-d246612148b9b6dfaa4dfabd399f077ea0544096.zip |
Consolidate boro glass stuff into a real API (#95)
* Consolidate boro glass stuff into a real API
* pull in changes from ExampleMod
* Fix underflow
* attempt to fix build
Former-commit-id: 2413c93bc2bb5ab32a0e8078dbcf01a4b23b1f7d
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-and-test.yml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a60a2b6468..56a1ad52cc 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -14,32 +14,32 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: + with: fetch-depth: 0 - + - name: Set up JDK 8 uses: actions/setup-java@v2 with: java-version: '8' distribution: 'adopt' cache: gradle - + - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Setup the workspace run: ./gradlew setupCIWorkspace - + - name: Build the mod run: ./gradlew build - - name: Run server for 1 minute + - name: Run server for 1.5 minutes run: | mkdir run - echo "eula=true" > run/eula.txt - timeout 60 ./gradlew runServer || true + echo "eula=true" > run/eula.txt + timeout 90 ./gradlew runServer 2>&1 | tee -a server.log || true - - name: Test no crashes happend + - name: Test no errors reported during server run run: | - chmod +x .github/scripts/test-no-crash-reports.sh - .github/scripts/test-no-crash-reports.sh + chmod +x .github/scripts/test_no_error_reports + .github/scripts/test_no_error_reports |