File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 33
33
matrix :
34
34
python-version : ['3.8', '3.9', '3.10', '3.11']
35
35
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
-
40
36
steps :
41
37
- name : Checkout array-api-compat
42
38
uses : actions/checkout@v3
@@ -57,11 +53,15 @@ jobs:
57
53
with :
58
54
python-version : ${{ matrix.python-version }}
59
55
- 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'))"
60
59
run : |
61
60
python -m pip install --upgrade pip
62
61
python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}'
63
62
python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
64
63
- 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'))"
65
65
env :
66
66
ARRAY_API_TESTS_MODULE : array_api_compat.${{ inputs.package-name }}
67
67
# 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