Skip to content

Commit

Permalink
Merge pull request #144 from Swimburger/niels/remove-test-reporter
Browse files Browse the repository at this point in the history
Remove test reporter from GHA CI
  • Loading branch information
AJLange authored Dec 3, 2024
2 parents 9f07c48 + 8fa65cf commit 4aa77cc
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,14 @@ jobs:
name: Build, test, and pack
runs-on: windows-latest
permissions:
contents: read
actions: read
checks: write
steps:
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
dotnet-quality: ga
dotnet-version: 9.x

- name: Update project versions
run: |
Expand Down Expand Up @@ -111,20 +108,12 @@ jobs:
shell: pwsh

- name: (Twilio.AspNet.Core.UnitTests) Test
run: dotnet test --no-build --logger trx
run: dotnet test --no-build --no-restore
working-directory: src/Twilio.AspNet.Core.UnitTests/
shell: pwsh

- name: (Twilio.AspNet.Core.UnitTests) Report Tests
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Twilio.AspNet.Core.UnitTests
path: src/Twilio.AspNet.Core.UnitTests/TestResults/*.trx
reporter: dotnet-trx

- name: (Twilio.AspNet.Core) Pack
run: dotnet pack -c Release -o ..\..\
run: dotnet pack --no-build --no-restore -c Release -o ..\..\
working-directory: src/Twilio.AspNet.Core/
shell: pwsh

Expand Down Expand Up @@ -158,20 +147,12 @@ jobs:
shell: pwsh

- name: (Twilio.AspNet.Mvc.UnitTests) Test
run: dotnet test --no-build --logger trx
run: dotnet test --no-build --no-restore
working-directory: src/Twilio.AspNet.Mvc.UnitTests/
shell: pwsh

- name: (Twilio.AspNet.Mvc.UnitTests) Report Tests
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Twilio.AspNet.Mvc.UnitTests
path: src/Twilio.AspNet.Mvc.UnitTests/TestResults/*.trx
reporter: dotnet-trx


- name: (Twilio.AspNet.Mvc) Pack
run: dotnet pack -c Release -o ..\..\
run: dotnet pack --no-build --no-restore -c Release -o ..\..\
working-directory: src/Twilio.AspNet.Mvc/
shell: pwsh

Expand Down

0 comments on commit 4aa77cc

Please sign in to comment.