Skip to content

Commit ea9c1e2

Browse files
committed
Skip the torch test that crashes the CI
1 parent 4737dc0 commit ea9c1e2

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
run: |
5555
export PYTHONPATH="${GITHUB_WORKSPACE}/array-api-compat"
5656
cd ${GITHUB_WORKSPACE}/array-api-tests
57-
pytest ${PYTEST_ARGS} --xfails-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.package-name }}-xfails.txt array_api_tests/
57+
pytest ${PYTEST_ARGS} --xfails-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.package-name }}-xfails.txt --skips-file ${GITHUB_WORKSPACE}/array-api-compat/${{ inputs.package-name }}-skips.txt array_api_tests/

numpy-skips.txt

Whitespace-only changes.

torch-skips.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This test causes a core dump on CI, so we have to skip it entirely (it
2+
# should actually pass)
3+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x, s)]

0 commit comments

Comments
 (0)