Skip to content

Commit 424f25d

Browse files
committed
fix ci?
1 parent 1f9799a commit 424f25d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
array-api-tests-dask:
77
uses: ./.github/workflows/array-api-tests.yml
88
with:
9-
package-name: dask.array
9+
package-name: dask
10+
module-name: dask.array
1011
extra-requires: numpy
1112
pytest-extra-args: --disable-deadline --max-examples=5

.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+
module-name:
10+
required: false
11+
type: string
912
extra-requires:
1013
required: false
1114
type: string
@@ -62,7 +65,7 @@ jobs:
6265
- name: Run the array API testsuite (${{ inputs.package-name }})
6366
if: "! (matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21'))"
6467
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 }}
6669
# This enables the NEP 50 type promotion behavior (without it a lot of
6770
# tests fail on bad scalar type promotion behavior)
6871
NPY_PROMOTION_STATE: weak

0 commit comments

Comments
 (0)