-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (36 loc) · 927 Bytes
/
tests.yml
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
name: Tests
on:
push:
branches: [main]
pull_request:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
os: ["ubuntu-latest"]
session:
- "test"
- "test_comparison"
- "test_pymc3"
- "test_pymc"
- "test_pymc_jax"
- "test_jax"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U nox
- name: Run tests
run: |
python -m nox --non-interactive --error-on-missing-interpreter \
--session ${{ matrix.session }}-${{ matrix.python-version }}