diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml index 923fbc7cf62..95f3db17a40 100644 --- a/azure-pipelines-ci.yml +++ b/azure-pipelines-ci.yml @@ -113,10 +113,8 @@ stages: . venv/bin/activate pytest --timeout=9 --durations=10 --junitxml=test-results.xml --cov --cov-report=html -qq -o console_output_style=count -p no:sugar tests - codecov || true + codecov --token=$(codecovToken) displayName: 'Run pytest for python $(python.container) / coverage' - env: - CODECOV_TOKEN: '$(codecovToken)' condition: and(succeeded(), eq(variables['python.container'], variables['PythonMain'])) - task: PublishTestResults@2 condition: succeededOrFailed()