Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
runs-on: windows-latest
permissions:
contents: read
actions: read
packages: write
checks: write

Expand All @@ -29,8 +30,21 @@ jobs:
- name: Build
run: dotnet build -c Release --no-restore

- name: Test
run: dotnet test -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename test-results.trx
- name: Test RemoteViewer.Shared.Tests
run: dotnet test --project tests/RemoteViewer.Shared.Tests -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename shared-tests.trx
continue-on-error: true

- name: Test RemoteViewer.Client.Tests
run: dotnet test --project tests/RemoteViewer.Client.Tests -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename client-tests.trx
continue-on-error: true

- name: Test RemoteViewer.Server.Tests
run: dotnet test --project tests/RemoteViewer.Server.Tests -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename server-tests.trx
continue-on-error: true

- name: Test RemoteViewer.IntegrationTests
run: dotnet test --project tests/RemoteViewer.IntegrationTests -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename integration-tests.trx
continue-on-error: true

- name: Upload test results
uses: actions/upload-artifact@v4
Expand All @@ -40,12 +54,13 @@ jobs:
path: ./test-results/**/*.trx

- name: Publish test results
uses: dorny/test-reporter@v1
uses: dorny/test-reporter@v2.5.0
if: always()
with:
name: Test Results
path: ./test-results/**/*.trx
reporter: dotnet-trx
fail-on-error: 'false'

- name: Publish RemoteViewer.Client
run: |
Expand Down
21 changes: 18 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
runs-on: windows-latest
permissions:
contents: read
actions: read
checks: write
pull-requests: write

Expand All @@ -29,8 +30,21 @@ jobs:
- name: Build
run: dotnet build -c Release --no-restore

- name: Test
run: dotnet test -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename test-results.trx
- name: Test RemoteViewer.Shared.Tests
run: dotnet test --project tests/RemoteViewer.Shared.Tests -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename shared-tests.trx
continue-on-error: true

- name: Test RemoteViewer.Client.Tests
run: dotnet test --project tests/RemoteViewer.Client.Tests -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename client-tests.trx
continue-on-error: true

- name: Test RemoteViewer.Server.Tests
run: dotnet test --project tests/RemoteViewer.Server.Tests -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename server-tests.trx
continue-on-error: true

- name: Test RemoteViewer.IntegrationTests
run: dotnet test --project tests/RemoteViewer.IntegrationTests -c Release --no-build --results-directory ./test-results -- --report-trx --report-trx-filename integration-tests.trx
continue-on-error: true

- name: Upload test results
uses: actions/upload-artifact@v4
Expand All @@ -40,9 +54,10 @@ jobs:
path: ./test-results/**/*.trx

- name: Publish test results
uses: dorny/test-reporter@v1
uses: dorny/test-reporter@v2.5.0
if: always()
with:
name: Test Results
path: ./test-results/**/*.trx
reporter: dotnet-trx
fail-on-error: 'false'
Loading