Skip to content

Commit e09fc23

Browse files
authored
Feature: 522 store test results as artifacts (AAS-TwinEngine#51)
1 parent 4d1b15a commit e09fc23

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,17 @@ jobs:
120120
recreate: true
121121
path: results.md
122122

123-
- name: Upload TRX as artifact (Fork PR fallback)
124-
if: github.event.pull_request.head.repo.fork == true
123+
- name: Upload TRX as artifact
124+
if: always()
125125
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
126126
with:
127-
name: test-results
127+
name: dotnet-test-results
128128
path: "**/*_test_results.trx"
129129

130-
- name: Upload Code Coverage Report
130+
- name: Upload Code Coverage as artifact
131+
if: always()
131132
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
132133
with:
133-
name: code-coverage-report
134-
path: coverlet/reports
134+
name: dotnet-code-coverage
135+
path: "**/coverage.cobertura.xml"
135136

0 commit comments

Comments
 (0)