Skip to content

Commit

Permalink
Enable verbose on dotnet test to pinpoint the test failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
fryderykhuang committed Jan 19, 2024
1 parent 63b3cd7 commit 6d1dea8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
with:
# non-shallow fetch of Git history allows correct version calculation.
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions scripts/Test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Push-Location $SolutionDir
$Env:Platform = 'x64'
foreach ($project in $Tests)
{
dotnet test -c Debug -a x64 .\$project\$project.csproj
dotnet test -c Debug -a x64 -v n .\$project\$project.csproj
if (!$?) { throw }
dotnet test -c Release -a x64 .\$project\$project.csproj
dotnet test -c Release -a x64 -v n .\$project\$project.csproj
if (!$?) { throw }
}

Expand Down

0 comments on commit 6d1dea8

Please sign in to comment.