Skip to content

Commit daf8f01

Browse files
committed
Chore: Update GitHub workflows to use --solution flag with dotnet test commands
1 parent 8c4c046 commit daf8f01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/onPullRequest-TestDotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
run: dotnet build CodeOfChaos.Extensions.slnx --configuration Release --no-restore -p:GeneratePackageOnBuild=false -p:IsPackable=false
2929

3030
- name: Run tests
31-
run: dotnet test CodeOfChaos.Extensions.slnx --configuration Release --no-restore --no-build
31+
run: dotnet test --solution CodeOfChaos.Extensions.slnx --configuration Release --no-restore --no-build

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# Ensure that the tests must pass
2929
# The job will fail automatically if any test fails because `dotnet test` exits with a non-zero code
3030
- name: Run tests
31-
run: dotnet test CodeOfChaos.Extensions.slnx --configuration Release --no-restore --no-build
31+
run: dotnet test --solution CodeOfChaos.Extensions.slnx --configuration Release --no-restore --no-build
3232

3333
- name: Publish to NuGet
3434
env:

0 commit comments

Comments
 (0)