Skip to content

Commit 989a2e3

Browse files
committed
CI: use -xfails file from array-api-strict
Previously, we had duplicated array-api-tests/array-api-strict-skips.txt in this repo, **and** array-api-strict/array-api-tests-xfails.txt in the -strict repo. Since skips/xfails for array-api-compat wrapped libraries live in array-api-compat, the array-api-strict xfails file should also live in array-api-strict repository.
1 parent d8e7b2d commit 989a2e3

File tree

2 files changed

+6
-53
lines changed

2 files changed

+6
-53
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
uses: actions/setup-python@v6
1919
with:
2020
python-version: ${{ matrix.python-version }}
21+
- name: Get the skips file
22+
run: |
23+
cd /tmp
24+
git clone --depth 1 https://github.com/data-apis/array-api-strict.git
25+
cd
2126
- name: Install dependencies
2227
run: |
2328
python -m pip install --upgrade pip
@@ -28,6 +33,6 @@ jobs:
2833
ARRAY_API_TESTS_MODULE: array_api_strict
2934
ARRAY_API_STRICT_API_VERSION: 2024.12
3035
run: |
31-
pytest -v -rxXfE --skips-file array-api-strict-skips.txt array_api_tests/
36+
pytest -v -rxXfE --skips-file=/tmp/array-api-strict/array-api-tests-xfails.txt array_api_tests/
3237
# We also have internal tests that isn't really necessary for adopters
3338
pytest -v -rxXfE meta_tests/

array-api-strict-skips.txt

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)