Skip to content

Commit

Permalink
Upload test reports so that they can be processed by 'test_report.yaml'
Browse files Browse the repository at this point in the history
action
  • Loading branch information
ryanemerson authored and tristantarrant committed Sep 26, 2022
1 parent b23d9a6 commit ec8d650
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ jobs:
- name: JDK 11 Tests
run: mvn -B verify -Dmaven.test.failure.ignore=true -Dansi.strip=true

- name: Test Results
uses: dorny/test-reporter@v1
- name: Test Logs
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: JDK 17 Test Results
name: jdk11-test-results
path: "**/target/*-reports*/**/TEST-*.xml"
reporter: java-junit

jdk17:
runs-on: ubuntu-latest
Expand All @@ -47,10 +46,9 @@ jobs:
- name: JDK 17 Tests
run: mvn -B verify -Dmaven.test.failure.ignore=true -Dansi.strip=true

- name: Test Results
uses: dorny/test-reporter@v1
- name: Test Logs
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: JDK 17 Test Results
name: jdk17-test-results
path: "**/target/*-reports*/**/TEST-*.xml"
reporter: java-junit

0 comments on commit ec8d650

Please sign in to comment.