Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a3ec9af

Browse files
jorenhamev-br
andauthored
CI: Bump array-api-tests to v2025.05.23 (#29149)
* CI: Bump `array-api-tests` to `v2025.05.23` * TST: xfail new array-api test failures * TST: increase ``--max-examples`` from 100 to 500 for ``array-api-tests`` * CI: apply review suggestions Co-authored-by: Evgeni Burovski <[email protected]> --------- Co-authored-by: Evgeni Burovski <[email protected]>
1 parent 8ce860f commit a3ec9af

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

.github/workflows/linux.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
# TODO: gcov
157157
env:
158158
PYTHONOPTIMIZE: 2
159-
159+
160160

161161
aarch64_test:
162162
needs: [smoke_test]
@@ -204,7 +204,7 @@ jobs:
204204
submodules: recursive
205205
fetch-tags: true
206206
persist-credentials: false
207-
207+
208208
- name: Creates new container
209209
run: |
210210
docker run --name the_container --interactive \
@@ -221,7 +221,7 @@ jobs:
221221
docker run --rm -e "TERM=xterm-256color" \
222222
-v $(pwd):/numpy the_container \
223223
/bin/script -e -q -c "/bin/linux32 /bin/bash --noprofile --norc -eo pipefail -c '
224-
cd /numpy && spin build
224+
cd /numpy && spin build
225225
'"
226226
227227
- name: Meson Log
@@ -324,7 +324,7 @@ jobs:
324324
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
325325
with:
326326
repository: data-apis/array-api-tests
327-
ref: 'c48410f96fc58e02eea844e6b7f6cc01680f77ce' # Latest commit as of 2025-04-01
327+
ref: '3c273cd34d51c64ed893737306d36adab23a94a1' # v2025.05.23
328328
submodules: 'true'
329329
path: 'array-api-tests'
330330
persist-credentials: false
@@ -346,7 +346,7 @@ jobs:
346346
PYTHONWARNINGS: 'ignore::UserWarning::,ignore::DeprecationWarning::,ignore::RuntimeWarning::'
347347
run: |
348348
cd ${GITHUB_WORKSPACE}/array-api-tests
349-
pytest array_api_tests -v -c pytest.ini --ci --max-examples=100 --derandomize --disable-deadline --xfails-file ${GITHUB_WORKSPACE}/tools/ci/array-api-xfails.txt
349+
pytest array_api_tests -v -c pytest.ini -n 4 --max-examples=1000 --derandomize --disable-deadline --xfails-file ${GITHUB_WORKSPACE}/tools/ci/array-api-xfails.txt
350350
351351
custom_checks:
352352
needs: [smoke_test]

tools/ci/array-api-xfails.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# finfo return type misalignment
22
array_api_tests/test_data_type_functions.py::test_finfo[float32]
3+
array_api_tests/test_data_type_functions.py::test_finfo[complex64]
4+
5+
# finfo: data type <class 'numpy.object_'> not inexact
6+
array_api_tests/test_data_type_functions.py::test_finfo[float64]
7+
array_api_tests/test_data_type_functions.py::test_finfo[complex128]
8+
9+
# iinfo: Invalid integer data type 'O'
10+
array_api_tests/test_data_type_functions.py::test_iinfo[int8]
11+
array_api_tests/test_data_type_functions.py::test_iinfo[uint8]
12+
array_api_tests/test_data_type_functions.py::test_iinfo[int16]
13+
array_api_tests/test_data_type_functions.py::test_iinfo[uint16]
14+
array_api_tests/test_data_type_functions.py::test_iinfo[int32]
15+
array_api_tests/test_data_type_functions.py::test_iinfo[uint32]
16+
array_api_tests/test_data_type_functions.py::test_iinfo[int64]
17+
array_api_tests/test_data_type_functions.py::test_iinfo[uint64]
318

419
# 'shape' arg is present. 'newshape' is retained for backward compat.
520
array_api_tests/test_signatures.py::test_func_signature[reshape]

0 commit comments

Comments
 (0)