Skip to content

Commit ed9de3d

Browse files
committed
only upload coverage results when in Release mode
1 parent fefb90a commit ed9de3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build_script:
1111
test_script:
1212
- ps: if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
1313
- ps: |
14-
if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Ubuntu") {
14+
if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Ubuntu" -and $env:CONFIGURATION -eq "Release") {
1515
curl -s https://codecov.io/bash > codecov
1616
chmod +x codecov
1717
./codecov -f ./test/coverlet.core.tests/coverage.opencover.xml

0 commit comments

Comments
 (0)