Skip to content
Open
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
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,19 @@ jobs:
with:
dotnet-version: '10.0.x'

- name: Run tests
# These tests intentionally start and kill child processes that load the application assembly.
# Coverlet statically instruments that assembly with one shared hits file, so collecting the
# class in-process can corrupt coverage when a hostile worker is terminated by design.
- name: Run plugin platform process tests without coverage
run: >-
dotnet test SecondDimensionWatcherReDive.Test/SecondDimensionWatcherReDive.Test.csproj -c Release
--filter "FullyQualifiedName~SecondDimensionWatcherReDive.Test.PluginPlatformIntegrationTests"
--logger "trx;LogFileName=plugin-platform-test-results.trx"

- name: Run remaining tests with coverage
run: >-
dotnet test SecondDimensionWatcherReDive.slnx -c Release
--filter "FullyQualifiedName!~SecondDimensionWatcherReDive.Test.PluginPlatformIntegrationTests"
--logger "trx;LogFileName=test-results.trx"
--collect "XPlat Code Coverage"
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura
Expand Down
Loading