File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 6
6
array-api-tests-dask :
7
7
uses : ./.github/workflows/array-api-tests.yml
8
8
with :
9
- package-name : dask.array
9
+ package-name : dask
10
+ module-name : dask.array
10
11
extra-requires : numpy
11
12
pytest-extra-args : --disable-deadline --max-examples=5
Original file line number Diff line number Diff line change 6
6
package-name :
7
7
required : true
8
8
type : string
9
+ module-name :
10
+ required : false
11
+ type : string
9
12
extra-requires :
10
13
required : false
11
14
type : string
62
65
- name : Run the array API testsuite (${{ inputs.package-name }})
63
66
if : " ! (matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
64
67
env :
65
- ARRAY_API_TESTS_MODULE : array_api_compat.${{ inputs.package-name }}
68
+ ARRAY_API_TESTS_MODULE : array_api_compat.${{ inputs.module-name || inputs. package-name }}
66
69
# This enables the NEP 50 type promotion behavior (without it a lot of
67
70
# tests fail on bad scalar type promotion behavior)
68
71
NPY_PROMOTION_STATE : weak
You can’t perform that action at this time.
0 commit comments