From 333ff1e8ed30ce922ebc2bfec9904718f29ff99f Mon Sep 17 00:00:00 2001 From: Justin Comins Date: Tue, 29 Oct 2024 15:00:26 -0700 Subject: [PATCH] playing with syntax --- .circleci/real_config.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.circleci/real_config.yml b/.circleci/real_config.yml index fa72ded131d..ebbd532639d 100644 --- a/.circleci/real_config.yml +++ b/.circleci/real_config.yml @@ -2697,10 +2697,18 @@ jobs: executor: << parameters.executor-name >> steps: - checkout + - unless: + condition: << parameters.executor-name >> == "win/default" + steps: + - run: + name: Install git + command: | + apt update + apt install -y git - run: name: Set VERSION environment variable command: | - echo "export VERSION=$(~/project/version.sh)" >> $BASH_ENV + echo "export VERSION=$(cd ~/project && ./version.sh)" >> $BASH_ENV - python-report # Running the pip executable causes an error with the win/default executor for some reason. - run: python -m pip install --upgrade --user pip @@ -4029,19 +4037,12 @@ workflows: <<: *do-not-run-on-manual-trigger jobs: - test-cli: - pre-steps: - - run: - name: Install git - command: | - apt update - apt install -y git matrix: parameters: executor-name: - "python-38" - "python-39" - - test-cli: - executor-name: "win/default" + - "win/default" test-unit: <<: *do-not-run-on-manual-trigger jobs: