Skip to content

Commit

Permalink
Test report merge export
Browse files Browse the repository at this point in the history
  • Loading branch information
JPechberty committed Jan 28, 2025
1 parent 46b4156 commit 34a0e16
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ jobs:
- name: Verify tests with Maven
if: success() || failure()
run: mvn -B verify --file pom.xml
# - name: Agrergation des résultats des tests
# if: success() || failure()
# run: mvn -B surefire-report:report-only --file pom.xml
- name: Agregagtion des résultats des tests
if: success() || failure()
run: |
echo "<testsuite>" > target/surefire-reports/all-tests.xml
for file in target/surefire-reports/*.xml; do
grep "<testcase" "$file" >> target/surefire-reports/all-tests.xml
done
echo "</testsuite>" >> target/surefire-reports/all-tests.xml
- name: Création de l'artefact des résultats des tests XML
uses: actions/upload-artifact@v4
if: success() || failure()
Expand Down

0 comments on commit 34a0e16

Please sign in to comment.