Skip to content

Commit 6397108

Browse files
committed
Fix workflow syntax
1 parent fbd6e1b commit 6397108

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/array-api-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ jobs:
5757
- name: Install dependencies
5858
# NumPy 1.21 doesn't support Python 3.11. There doesn't seem to be a way
5959
# to put this in the numpy 1.21 config file.
60-
if: "! (matrix.python-version == '3.11' || matrix.python-version == '3.12') && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21')"
60+
if: "! ((matrix.python-version == '3.11' || matrix.python-version == '3.12') && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
6161
run: |
6262
python -m pip install --upgrade pip
6363
python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}' ${{ inputs.extra-requires }}
6464
python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
6565
- name: Run the array API testsuite (${{ inputs.package-name }})
66-
if: "! ((matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
66+
if: "! ((matrix.python-version == '3.11' || matrix.python-version == '3.12') && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
6767
env:
6868
ARRAY_API_TESTS_MODULE: array_api_compat.${{ inputs.module-name || inputs.package-name }}
6969
# This enables the NEP 50 type promotion behavior (without it a lot of

0 commit comments

Comments
 (0)