-
Notifications
You must be signed in to change notification settings - Fork 26
38 lines (32 loc) · 1.06 KB
/
run_notebooks.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
name: Run Notebooks
on:
- push
- pull_request_target
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
notebook: [
"docs/tutorials/notebooks/mixscape.ipynb",
# "docs/tutorials/notebooks/augurpy.ipynb",
]
steps:
- uses: actions/checkout@v3
with:
submodules: "true"
token: "${{ secrets.CT_SYNC_TOKEN }}"
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install Poetry
run: |
pip install poetry
poetry --version
- name: Install package
run: poetry install
- name: Install nbconvert ipykernel
run: poetry add nbconvert ipykernel
- name: Run ${{ matrix.notebook }} Notebook
run: poetry run jupyter nbconvert --to notebook --execute ${{ matrix.notebook }}