Skip to content

Commit dab4720

Browse files
author
Alex J Lennon
committed
CI: Restore solution to ensure xunit is available
Restore the solution file instead of just the test project to ensure both projects are restored together. This ensures xunit is properly included in the shared assets file before building/running tests. Tested locally - all 92 tests pass.
1 parent 371e4d0 commit dab4720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: rm -rf obj bin
3131

3232
- name: Restore dependencies (explicit xunit)
33-
run: dotnet restore tests/InstDotNet.Tests.csproj
33+
run: dotnet restore InstDotNet.sln
3434

3535
- name: Run Tests
3636
run: dotnet test tests/InstDotNet.Tests.csproj -c Release -p:GitCommitHash=${{ steps.git.outputs.hash }} --no-restore --verbosity normal

0 commit comments

Comments
 (0)