File tree 2 files changed +43
-0
lines changed
2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : JAX Array API
2
+
3
+ on :
4
+ workflow_dispatch : # allows triggering the workflow run manually
5
+ pull_request : # Automatically trigger on pull requests affecting this file
6
+ branches :
7
+ - main
8
+ paths :
9
+ - ' **workflows/jax-array-api.yml'
10
+ - ' **experimental/array_api/**'
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ python-version : [3.11]
19
+
20
+ steps :
21
+ - name : Checkout jax
22
+ uses : actions/checkout@v3
23
+ - name : Checkout array-api-tests
24
+ uses : actions/checkout@v3
25
+ with :
26
+ repository : data-apis/array-api-tests
27
+ submodules : ' true'
28
+ path : ' array-api-tests'
29
+ - name : Set up Python ${{ matrix.python-version }}
30
+ uses : actions/setup-python@v1
31
+ with :
32
+ python-version : ${{ matrix.python-version }}
33
+ - name : Install dependencies
34
+ run : |
35
+ python -m pip install .[cpu]
36
+ python -m pip install -r array-api-tests/requirements.txt
37
+ - name : Run the test suite
38
+ env :
39
+ ARRAY_API_TESTS_MODULE : jax.experimental.array_api
40
+ run : |
41
+ pytest --ci array-api-tests/array_api_tests/
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ markers = [
57
57
]
58
58
filterwarnings = [
59
59
" error" ,
60
+ " ignore:The numpy.array_api submodule is still experimental.:UserWarning" ,
61
+ " ignore:The hookimpl.*:DeprecationWarning" ,
60
62
" ignore:No GPU/TPU found, falling back to CPU.:UserWarning" ,
61
63
" ignore:xmap is an experimental feature and probably has bugs!" ,
62
64
" ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning" ,
You can’t perform that action at this time.
0 commit comments