From a128fccb8cd741186ec2ddb75b007a420157c0b9 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 31 Jan 2023 18:37:38 -0800 Subject: [PATCH] & variable --- .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 949cecf86..341d4aa1a 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), in(convertToJson(split(variables['TOXENV'], '-')), 'cover', 'integration')) + condition: and(eq(variables['uploadCoverage'], true), variables['TOXENV'], in(convertToJson(split(variables['TOXENV'], '-')), 'cover', 'integration')) displayName: Upload coverage data