We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a9231 commit 2134ddfCopy full SHA for 2134ddf
.github/workflows/dotnet-tests.yml
@@ -0,0 +1,28 @@
1
+name: .NET Tests (collector)
2
+
3
+on:
4
+ push: { branches: [ "main" ] }
5
+ pull_request: { branches: [ "main" ] }
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: actions/setup-dotnet@v4
13
+ with:
14
+ dotnet-version: '9.0.x'
15
16
+ - name: Restore
17
+ run: dotnet restore
18
19
+ - name: Test (collector, Cobertura)
20
+ run: |
21
+ # Centralize results in one folder (still creates GUID subfolders inside)
22
+ dotnet test --collect:"XPlat Code Coverage" --results-directory ./TestResults
23
24
+ - name: Upload coverage artifacts (Cobertura)
25
+ uses: actions/upload-artifact@v4
26
27
+ name: cobertura-reports
28
+ path: '**/TestResults/**/coverage.cobertura.xml'
0 commit comments