From 06d2559e7caa462ac57da1a73d242fa6320b6534 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 31 Jan 2023 18:54:45 -0800 Subject: [PATCH] ... --- .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 7a045bf0e..9b6fa2873 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), variables['TOXENV'], in(split(variables['TOXENV'], '-').0, 'cover', 'integration')) + condition: and(eq(variables['uploadCoverage'], true), length(split(variables['TOXENV'], '-')), in(split(variables['TOXENV'], '-')[0], 'cover', 'integration')) displayName: Upload coverage data