Skip to content

Commit 77d73af

Browse files
committed
Drop --logger from dotnet test in cross-platform workflow
`global.json` selects `Microsoft.Testing.Platform` as the test runner, which does not accept the legacy VSTest `--logger "console;verbosity=normal"` form. The argument was being misinterpreted as a project path and the runner reported `Zero tests ran` with exit code 1 on every platform. Removing the unused logger flag is enough -- the platform's default console output is sufficient and all 17 tests pass locally with the same command. https://claude.ai/code/session_017B9mN9F7C3pWGZRyoKBd6R
1 parent ca669a0 commit 77d73af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cross-platform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ jobs:
5353
run: dotnet build CredentialCache.sln --configuration Release --no-restore
5454

5555
- name: Test
56-
run: dotnet test CredentialCache.Test/CredentialCache.Test.csproj --configuration Release --no-build --logger "console;verbosity=normal"
56+
run: dotnet test CredentialCache.Test/CredentialCache.Test.csproj --configuration Release --no-build

0 commit comments

Comments
 (0)