Merge pull request #8 from Belphemur/fix-ci

ci: always generate and upload test results
This commit is contained in:
Antoine Aflalo
2024-09-09 14:05:05 -04:00
committed by GitHub

View File

@@ -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