upload test results instead of non working publishing
All checks were successful
github-mirror / push-github (push) Successful in 4s
Build / Gradle-Build (push) Successful in 1m9s
Test / Gradle-Test (push) Successful in 1m15s

This commit is contained in:
tueem 2024-11-15 11:46:58 +01:00
parent 2ab30a2bc1
commit 4d20dd65f2
Signed by: tueem
GPG Key ID: 65C8667EC17A88FB

@ -38,10 +38,16 @@ jobs:
DISCORD_TEST_TOKEN: ${{ secrets.DISCORD_TOKEN }} DISCORD_TEST_TOKEN: ${{ secrets.DISCORD_TOKEN }}
run: chmod +x gradlew; ./gradlew test run: chmod +x gradlew; ./gradlew test
- name: Publish Test Results - name: Move Test Results
if: always()
run: |
mkdir test-results/;
[ -d lib/build/test-results/test/ ] && mv lib/build/test-results/test/*.xml test-results/;
[ -d wrapper/javacord/build/test-results/test/ ] && mv wrapper/javacord/build/test-results/test/*.xml test-results/;
- name: Upload Test Result
uses: christopherhx/gitea-upload-artifact@v4
if: always() if: always()
uses: dorny/test-reporter@v1
with: with:
name: Test Results name: test-results
path: 'lib/build/test-results/test/*.xml,wrapper/javacord/build/test-results/test/*.xml' path: test-results/
reporter: java-junit