diff --git a/azure-templates.yml b/azure-templates.yml index d0a4f2d..fe8a047 100644 --- a/azure-templates.yml +++ b/azure-templates.yml @@ -52,7 +52,12 @@ jobs: codecov -t $codecov_token env: codecov_token: $(CODECOV_TOKEN) - displayName: codecov upload + condition: ne( variables['Agent.OS'], 'Windows_NT' ) + displayName: codecov upload on Linux/Darwin + - powershell: | + codecov -t "$(CODECOV_TOKEN)" + condition: eq( variables['Agent.OS'], 'Windows_NT' ) + displayName: codecov upload on Windows - task: PublishTestResults@2 condition: succeededOrFailed()