-
Notifications
You must be signed in to change notification settings - Fork 7
48 lines (40 loc) · 1.03 KB
/
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
43
44
45
46
47
48
# From github.com/dfm/tinygp
name: tests
on:
workflow_dispatch:
schedule:
# Run on the 13th and 28th of each month, at 00:23 UTC:
- cron: '23 00 13,28 * *'
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout PyVBMC
uses: actions/checkout@v4
with:
path: pyvbmc
- name: Checkout GPyReg
uses: actions/checkout@v4
with:
repository: acerbilab/gpyreg
path: gpyreg
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install PyVBMC
run: |
cd ./pyvbmc
python -m pip install -e .
- name: Install GPyReg
run: |
cd ./gpyreg
python -m pip install -e .
- name: Run tests
run: |
cd ./pyvbmc
python -m pytest --reruns=5 -x -vv