File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3333 matrix :
3434 python-version : ['3.8', '3.9', '3.10', '3.11']
3535
36- # NumPy 1.21 doesn't support Python 3.11. There doesn't seem to be a way
37- # to put this in the numpy 1.21 config file.
38- if : " ! (matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
39-
4036 steps :
4137 - name : Checkout array-api-compat
4238 uses : actions/checkout@v3
@@ -57,11 +53,15 @@ jobs:
5753 with :
5854 python-version : ${{ matrix.python-version }}
5955 - name : Install dependencies
56+ # NumPy 1.21 doesn't support Python 3.11. There doesn't seem to be a way
57+ # to put this in the numpy 1.21 config file.
58+ if : " ! (matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
6059 run : |
6160 python -m pip install --upgrade pip
6261 python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}'
6362 python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
6463 - name : Run the array API testsuite (${{ inputs.package-name }})
64+ if : " ! (matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
6565 env :
6666 ARRAY_API_TESTS_MODULE : array_api_compat.${{ inputs.package-name }}
6767 # This enables the NEP 50 type promotion behavior (without it a lot of
You can’t perform that action at this time.
0 commit comments