File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 1- name : Build and Test (windows-latest)
1+ name : CI
22
33on :
44 push :
5+ paths-ignore : [ '**.md' ]
56 branches : [ main ]
67 pull_request :
8+ paths-ignore : [ '**.md' ]
79 branches : [ main ]
810
911jobs :
2224 - name : Build
2325 run : dotnet build src --configuration Release --no-restore
2426 - name : Test
25- run : dotnet test src --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov
27+ run : dotnet test src --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov --logger "trx;LogFileName=results.trx"
2628 - name : Publish NuGet artifacts
2729 uses : actions/upload-artifact@v3
2830 with :
3234 uses : coverallsapp/github-action@master
3335 with :
3436 github-token : ${{ secrets.GITHUB_TOKEN }}
35- path-to-lcov : src/BitFaster.Caching.DependencyInjection.UnitTests/TestResults/coverage.info
37+ path-to-lcov : src/BitFaster.Caching.DependencyInjection.UnitTests/TestResults/coverage.info
38+ - name : Generate test report
39+ uses : phoenix-actions/test-reporting@v8
40+ id : unit-test-report
41+ if : success() || failure()
42+ with :
43+ name : test results
44+ path : src/BitFaster.Caching.DependencyInjection.UnitTests/TestResults/results.trx
45+ reporter : dotnet-trx
46+ only-summary : ' true'
You can’t perform that action at this time.
0 commit comments