We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d1a402 commit 2cd05e6Copy full SHA for 2cd05e6
1 file changed
.github/workflows/dotnetCi.yml
@@ -60,7 +60,7 @@ jobs:
60
# Build and test the solution
61
62
- name: Restore .NET packages
63
- run: dotnet restore -c ${{ env.Configuration }}
+ run: dotnet restore
64
- name: Start SonarScanner
65
run: >
66
dotnet-sonarscanner begin
@@ -83,7 +83,7 @@ jobs:
83
projNameArray=(${proj//// })
84
projName=${projNameArray[1]}
85
assemblyPath=$proj/bin/$Configuration/$Tfm/$projName.dll
86
- coverlet "$assemblyPath" --target "dotnet" --targetargs "test $proj --no-build --logger:nunit --test-adapter-path:." -f=opencover -o="TestResults/$projName.opencover.xml"
+ coverlet "$assemblyPath" --target "dotnet" --targetargs "test $proj -c $Configuration --no-build --logger:nunit --test-adapter-path:." -f=opencover -o="TestResults/$projName.opencover.xml"
87
if [ $? -ne 0 ]
88
then
89
AnyFailures=1
0 commit comments