ci(test): fix the report xml file

This commit is contained in:
Antoine Aflalo
2024-09-09 09:25:46 -04:00
parent 1b026b9dbd
commit d4f8d8b5ff

View File

@@ -32,12 +32,14 @@ jobs:
set -o pipefail
go test -v 2>&1 ./... -coverprofile=coverage.txt | tee test-results.txt
- name: Analyse test results
run: go-junit-report < test-results.txt > report.xml
run: go-junit-report < test-results.txt > junit.xml
- name: Upload test result artifact
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results.txt
path: |
test-results.txt
junit.xml
retention-days: 7
- name: Upload results to Codecov
uses: codecov/codecov-action@v4