Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Garfier authored Sep 12, 2024
1 parent 5b9d9e3 commit 565154f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,16 @@ jobs:
run: mvn -B clean package --file pom.xml
- name: Run JUnit tests
run: mvn -B verify --file pom.xml
- name: Collect Test Results
run: |
mkdir -p ./test-results
for d in $(find . -type d -name "surefire-reports"); do
cp $d/*.xml ./test-results/
done
shell: bash
- name: Archive test results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: target/surefire-reports/
path: spec/target/surefire-reports/

0 comments on commit 565154f

Please sign in to comment.