Skip to content

Commit cdd1c22

Browse files
authored
Merge pull request #13 from bitfaster/users/alexpeck/test3
trx3
2 parents de1463c + e4231aa commit cdd1c22

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/gate.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
name: Build and Test (windows-latest)
1+
name: CI
22

33
on:
44
push:
5+
paths-ignore: [ '**.md' ]
56
branches: [ main ]
67
pull_request:
8+
paths-ignore: [ '**.md' ]
79
branches: [ main ]
810

911
jobs:
@@ -22,7 +24,7 @@ jobs:
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:
@@ -32,4 +34,13 @@ jobs:
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'

0 commit comments

Comments
 (0)