mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-12 16:37:38 +00:00
ci: fix timeout step failing
We don't want to fail on timeout, it's probably good if job didn't stop before timeout was reached, which means server is still working
This commit is contained in:
1 parent
09410d48d0
commit
c46bab50ce
2 files changed
+2
-4
No files matched your search
@@ -34,11 +34,10 @@ jobs:
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Run server for 1 minute
|
||||
timeout-minutes: 1
|
||||
run: |
|
||||
mkdir run
|
||||
echo "eula=true" > run/eula.txt
|
||||
./gradlew runServer
|
||||
timeout 10 ./gradlew runServer || true
|
||||
|
||||
- name: Test no crashes happend
|
||||
run: |
|
||||
|
||||
@@ -32,11 +32,10 @@ jobs:
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Run server for 1 minute
|
||||
timeout-minutes: 1
|
||||
run: |
|
||||
mkdir run
|
||||
echo "eula=true" > run/eula.txt
|
||||
./gradlew runServer
|
||||
timeout 10 ./gradlew runServer || true
|
||||
|
||||
- name: Test no crashes happend
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user