From 3088f87d049f7faa908ef2a776a3a4cd9150faa3 Mon Sep 17 00:00:00 2001 From: "Adam J. Jackson" Date: Wed, 18 Dec 2024 13:18:37 +0000 Subject: [PATCH] Fix malformed expressions --- .github/workflows/run_tests.yml | 2 +- .github/workflows/test_checkout_one_os.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index cefe2acdc..64f83edb9 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -34,7 +34,7 @@ jobs: tox-skip-env: ${{((github.event_name == 'workflow_dispatch') && '' || '.*?(py311).*?')}} coverage: false - os: macos-13 - if: ${{((github.event_name == 'workflow_dispatch') + if: ${{ github.event_name == 'workflow_dispatch' }} python-versions: ['3.10', '3.11', '3.12'] tox-skip-env: '' coverage: false diff --git a/.github/workflows/test_checkout_one_os.yml b/.github/workflows/test_checkout_one_os.yml index da3981ebf..bdc126621 100644 --- a/.github/workflows/test_checkout_one_os.yml +++ b/.github/workflows/test_checkout_one_os.yml @@ -44,7 +44,7 @@ jobs: shell: bash -l {0} env: # Homebrew location is different on Intel Mac - LLVM_DIR: ${{ (${{ inputs.os }} == 'macos-13') && '/usr/local/opt/llvm' || '/opt/homebrew/opt/llvm' }} + LLVM_DIR: ${{ ( inputs.os == 'macos-13') && '/usr/local/opt/llvm' || '/opt/homebrew/opt/llvm' }} run: | brew install llvm echo CC="${LLVM_DIR}/bin/clang" >> $GITHUB_ENV