Skip to content

Commit b52bfff

Browse files
Copilotatifaziz
andcommitted
Revert CI Test step to use direct dotnet test command
Co-authored-by: atifaziz <20511+atifaziz@users.noreply.github.com>
1 parent 2788ced commit b52bfff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
ForEach-Object { dotnet sourcelink test $_; if ($LASTEXITCODE) { throw "SourceLink test failed for $_" } }
9494
9595
- name: Test
96-
run: dotnet pwsh ./build.ps1 -Test -NoBuild -Configuration ${{ env.CONFIGURATION }}
96+
run: dotnet test --no-build --configuration ${{ env.CONFIGURATION }}
9797

9898
- name: Integration Tests (Windows)
9999
if: runner.os == 'Windows'

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Build the solution (default parameter set).
1313
1414
.PARAMETER Test
15-
Run tests for both Roslyn variants.
15+
Run tests. Note: May fail on non-Windows platforms if .NET Framework tests cannot run.
1616
1717
.PARAMETER Pack
1818
Create a NuGet package containing both analyzer variants.

0 commit comments

Comments
 (0)