-
Notifications
You must be signed in to change notification settings - Fork 47
38 lines (35 loc) · 1.14 KB
/
test.yml
File metadata and controls
38 lines (35 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Test Array API Strict
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12", "3.13", "3.14"]
steps:
- name: Checkout array-api-tests
uses: actions/checkout@v6
with:
submodules: 'true'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Get the skips file
run: |
cd /tmp
git clone --depth 1 https://github.com/data-apis/array-api-strict.git
cd
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install array-api-strict
python -m pip install -r requirements.txt
- name: Run the test suite
env:
ARRAY_API_TESTS_MODULE: array_api_strict
ARRAY_API_STRICT_API_VERSION: 2025.12
run: |
pytest -v -rxXfE --skips-file=/tmp/array-api-strict/array-api-tests-xfails.txt array_api_tests/
# We also have internal tests that isn't really necessary for adopters
pytest -v -rxXfE meta_tests/