File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 7
7
uses : ./.github/workflows/array-api-tests.yml
8
8
with :
9
9
package-name : dask
10
+ extra-requires : numpy
Original file line number Diff line number Diff line change 6
6
package-name :
7
7
required : true
8
8
type : string
9
+ package-extras :
10
+ required : false
11
+ type : string
9
12
package-version :
10
13
required : false
11
14
type : string
54
57
if : " ! (matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
55
58
run : |
56
59
python -m pip install --upgrade pip
57
- python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}'
60
+ python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}' ${{ inputs.package-extras }}
58
61
python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
59
62
- name : Run the array API testsuite (${{ inputs.package-name }})
60
63
if : " ! (matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
Original file line number Diff line number Diff line change 15
15
- name : Install Dependencies
16
16
run : |
17
17
python -m pip install --upgrade pip
18
- python -m pip install pytest numpy torch
18
+ python -m pip install pytest numpy torch dask[array]
19
19
20
20
- name : Run Tests
21
21
run : |
You can’t perform that action at this time.
0 commit comments