Update ci-it.yml to upload surefire and failsafe reports

This commit is contained in:
Corneil du Plessis
2024-11-20 12:42:32 +02:00
committed by GitHub
parent 19fd1c65cc
commit df9fedbd66

View File

@@ -63,14 +63,21 @@ jobs:
VERBOSE=${{ github.debug }}
fi
export VERBOSE
./run-ITs.sh
- name: Test Report
./run-ITs.sh
- name: Unit Test Report
uses: dorny/test-reporter@v1
if: ${{ success() || failure() }}
with:
name: Unit Tests
path: '**/surefire-reports/*.xml'
reporter: java-junit
- name: Integrtation Test Report
uses: dorny/test-reporter@v1
if: ${{ success() || failure() }}
with:
name: Integration Tests
path: '**/failsafe-reports/*.xml'
reporter: java-junit
- name: 'Upload: Error logs'
if: ${{ failure() }}
uses: actions/upload-artifact@v3