Skip to content

Commit 3cc2857

Browse files
committed
fix workflows?
1 parent 8ee1613 commit 3cc2857

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ jobs:
77
uses: ./.github/workflows/array-api-tests.yml
88
with:
99
package-name: dask
10+
extra-requires: numpy

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
package-name:
77
required: true
88
type: string
9+
package-extras:
10+
required: false
11+
type: string
912
package-version:
1013
required: false
1114
type: string
@@ -54,7 +57,7 @@ jobs:
5457
if: "! (matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
5558
run: |
5659
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 }}
5861
python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
5962
- name: Run the array API testsuite (${{ inputs.package-name }})
6063
if: "! (matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install Dependencies
1616
run: |
1717
python -m pip install --upgrade pip
18-
python -m pip install pytest numpy torch
18+
python -m pip install pytest numpy torch dask[array]
1919
2020
- name: Run Tests
2121
run: |

0 commit comments

Comments
 (0)