We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0a25c8 commit 513157cCopy full SHA for 513157c
1 file changed
.github/workflows/ci.yml
@@ -1,6 +1,7 @@
1
name: CI Builds
2
permissions:
3
contents: read
4
+ pull-requests: write
5
6
on:
7
pull_request:
@@ -36,7 +37,18 @@ jobs:
36
37
run: dotnet build --no-restore
38
39
- name: Test
- run: dotnet test --no-build
40
+ run: dotnet test --no-build --verbosity normal --logger trx --collect:"XPlat Code Coverage"
41
+
42
+ - name: Generate test report
43
+ uses: bibipkins/dotnet-test-reporter@v1.6.1
44
+ if: ${{ always() && matrix.os == 'ubuntu-latest' }}
45
+ with:
46
+ github-token: ${{ secrets.GITHUB_TOKEN }}
47
+ comment-title: "Test Results"
48
+ results-path: tests/**/*.trx
49
+ coverage-path: tests/**/*.cobertura.xml
50
+ coverage-type: cobertura
51
+ coverage-threshold: 70
52
53
- name: Publish
54
run: dotnet publish src/SharpFM/SharpFM.csproj --runtime "${{ matrix.target }}" -c Debug
0 commit comments