mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2026-05-25 01:11:11 +02:00
ci: always generate and upload test results
This commit is contained in:
@@ -32,8 +32,10 @@ jobs:
|
||||
set -o pipefail
|
||||
go test -v 2>&1 ./... -coverprofile=coverage.txt | tee test-results.txt
|
||||
- name: Analyse test results
|
||||
if: ${{ !cancelled() }}
|
||||
run: go-junit-report < test-results.txt > junit.xml
|
||||
- name: Upload test result artifact
|
||||
if: ${{ !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-results
|
||||
|
||||
Reference in New Issue
Block a user