Add junit results to e2e tests too

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-26 11:53:59 +04:00
parent e1989e002f
commit 0c73e28a31
2 changed files with 16 additions and 9 deletions

View File

@@ -133,7 +133,13 @@ jobs:
- run: "make build"
- run: "make test"
env:
GOTESTSUM_JUNITFILE: junit.xml
GOTESTSUM_JUNITFILE: "junit.xml"
- name: "Upload test results"
uses: "actions/upload-artifact@v4"
with:
name: "junit-results"
path: "junit.xml"
retention-days: 30
- run: "make coverage-report"
- uses: "actions/upload-artifact@v4"
with:
@@ -142,13 +148,6 @@ jobs:
coverage.out
coverage.html
retention-days: 30
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: junit-results
path: junit.xml
retention-days: 30
# Trivy ignore does not work for license scanning in Github action
# - uses: "aquasecurity/trivy-action@0.33.1"
# with:
@@ -203,3 +202,11 @@ jobs:
yaml.dump(config, f, default_flow_style=False, allow_unicode=True)
EOF
- run: "make test-e2e"
env:
GOTESTSUM_JUNITFILE: "junit.xml"
- name: "Upload test results"
uses: "actions/upload-artifact@v4"
with:
name: "junit-results"
path: "junit.xml"
retention-days: 30