1
0
forked from Clones/Controlify

test framework

This commit is contained in:
isXander
2023-02-27 19:48:24 +00:00
parent 0d5307ba43
commit caacdf3aad
12 changed files with 411 additions and 8 deletions

View File

@ -48,3 +48,25 @@ jobs:
- uses: actions/upload-artifact@v3
with:
path: build/libs/*.jar
client_test:
runs-on: ubuntu-latest
name: In-game test
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: microsoft
java-version: 17
- name: Run auto test client
uses: modmuss50/xvfb-action@v1
with:
run: ./gradlew runTestmod --stracktrace --warning-mode=fail --no-daemon
- name: Upload test screenshots
uses: actions/upload-artifact@v3
if: always()
with:
name: test-screenshots
path: run/screenshots