-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (35 loc) · 1.15 KB
/
notebook_ci.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
# this file was taken from the lecture
# Sascha Spors: "Continuous- and Discrete-Time Signals and Systems - Theory and Computational Examples"
# see
# https://github.com/spatialaudio/signals-and-systems-lecture/blob/master/.github/workflows/notebook_ci.yml
# executes all cells (e.g. numerical examples) in all notebooks
# by using sphinx with the nbsphinx extension
name: Integration Test
on:
push:
pull_request:
schedule:
- cron: '30 1 1,15 * *'
jobs:
linux_py311:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: sudo apt-get install pandoc
- run: pip install -r requirements.txt
- run: pip install -r ci/requirements.txt
- run: python -m sphinx . _build/ -b html
linux_py312:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- run: sudo apt-get install pandoc
- run: pip install -r requirements.txt
- run: pip install -r ci/requirements.txt
- run: python -m sphinx . _build/ -b html