Skip to content

Commit 306de9b

Browse files
committed
Add 2023.12 testing to the CI
1 parent 647a5f0 commit 306de9b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
matrix:
1313
python-version: ['3.9', '3.10', '3.11', '3.12']
1414
numpy-version: ['1.26', 'dev']
15+
api_version: ['2022.12', '2023.12']
1516
exclude:
1617
- python-version: '3.8'
1718
numpy-version: 'dev'
@@ -49,5 +50,12 @@ jobs:
4950
# tests fail in numpy 1.26 on bad scalar type promotion behavior)
5051
NPY_PROMOTION_STATE: weak
5152
run: |
53+
export ARRAY_API_STRICT_API_VERSION=${{ matrix.api_version }}
54+
55+
# Only signature tests work for now for 2023.12
56+
if [[ "${{ matrix.api_version }}" == "2023.12" ]]; then
57+
PYTEST_ARGS="${PYTEST_ARGS} -k signature
58+
fi
59+
5260
cd ${GITHUB_WORKSPACE}/array-api-tests
5361
pytest array_api_tests/ --skips-file ${GITHUB_WORKSPACE}/array-api-strict/array-api-tests-xfails.txt ${PYTEST_ARGS}

0 commit comments

Comments
 (0)