mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2025-10-14 04:28:51 +02:00
ci(test): fix the report xml file
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -32,12 +32,14 @@ jobs:
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
go test -v 2>&1 ./... -coverprofile=coverage.txt | tee test-results.txt
|
go test -v 2>&1 ./... -coverprofile=coverage.txt | tee test-results.txt
|
||||||
- name: Analyse test results
|
- 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
|
- name: Upload test result artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-results
|
name: test-results
|
||||||
path: test-results.txt
|
path: |
|
||||||
|
test-results.txt
|
||||||
|
junit.xml
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
- name: Upload results to Codecov
|
- name: Upload results to Codecov
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
|
Reference in New Issue
Block a user