-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (40 loc) · 1.02 KB
/
accuracy.yml
File metadata and controls
47 lines (40 loc) · 1.02 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
39
40
41
42
43
44
45
46
47
name: Run Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
JAX_PLATFORM_NAME: "cpu"
OMP_NUM_THREADS: "1"
OPENBLAS_NUM_THREADS: "1"
MKL_NUM_THREADS: "1"
NUMEXPR_NUM_THREADS: "1"
XLA_FLAGS: "--xla_cpu_enable_fast_math=false"
JAX_ENABLE_X64: "true"
# JAX_DISABLE_JIT: "1"
JAX_DEBUG_NANS: "false"
JAX_TRACEBACK_FILTERING: "off"
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
strategy:
matrix:
python-version: ['3.X']
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r pytest_requirements.txt
- name: Run tests
env:
PYTHONPATH: ${{ github.workspace }}/ABCMB
run: |
cd pytests
pytest -s -vv