-
Notifications
You must be signed in to change notification settings - Fork 34
37 lines (30 loc) · 1.06 KB
/
notebook-interfaces-test.yml
File metadata and controls
37 lines (30 loc) · 1.06 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
name: Notebooks (interfaces)
on:
schedule:
# 4am on monday (minute, hour, day, month, day-of-the-week)
- cron: '0 4 * * 1'
jobs:
build-and-test:
name: interfaces
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
# Testing on version that Stan currently supports
python-version: '3.12'
# We use e.g. install pints[stan] to install dependencies for interfaces
# that have some code in pints/interfaces. Dependencies that are not used
# by any code in the `pints` module are installed with pip (e.g.
# `pip install autograd`).
- name: install pints, interfaces, extra dependencies
run: |
python --version
python -m pip install --upgrade pip setuptools wheel
python -m pip install .[dev,stan]
python -m pip install autograd
python -m pip install statsmodels
- name: run jupyter notebooks
run: |
python run-tests.py --interfaces