From 942e9e9436e319f3049cc09b50b0e9d1dd6ce268 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 31 Jan 2023 19:03:36 -0800 Subject: [PATCH] ugly version --- .azure-pipelines/templates/steps/tox-steps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/templates/steps/tox-steps.yml b/.azure-pipelines/templates/steps/tox-steps.yml index 9b6fa2873..d4bfcc1e8 100644 --- a/.azure-pipelines/templates/steps/tox-steps.yml +++ b/.azure-pipelines/templates/steps/tox-steps.yml @@ -78,5 +78,5 @@ steps: chmod +x codecov coverage xml ./codecov || echo "Uploading coverage data failed" - condition: and(eq(variables['uploadCoverage'], true), length(split(variables['TOXENV'], '-')), in(split(variables['TOXENV'], '-')[0], 'cover', 'integration')) + condition: and(eq(variables['uploadCoverage'], true), or(startsWith(variables['TOXENV'], 'cover'), startsWith(variables['TOXENV'], 'integration'))) displayName: Upload coverage data