File tree Expand file tree Collapse file tree 2 files changed +39
-2
lines changed Expand file tree Collapse file tree 2 files changed +39
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : tests
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ schedule :
8
+ # Run on the first of the month
9
+ - cron : " 0 0 1 * *"
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ tests :
14
+ name : Tests (${{ matrix.os }}, Python ${{ matrix.python-version }})
15
+ runs-on : ${{ matrix.os }}
16
+ strategy :
17
+ matrix :
18
+ os : [ubuntu-latest, macos-latest, windows-latest]
19
+ python-version : ["3.10"]
20
+
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+
24
+ - name : Set up Python ${{ matrix.python-version }}
25
+ uses : actions/setup-python@v2
26
+ with :
27
+ python-version : ${{ matrix.python-version }}
28
+
29
+ - name : Install dependencies
30
+ run : |
31
+ python -m pip install --upgrade pip
32
+ pip install -r requirements-dev.txt
33
+
34
+ - name : Run tests
35
+ run : |
36
+ make tests
Original file line number Diff line number Diff line change 1
1
PROJECT_NAME = ModSimPy
2
- PYTHON_VERSION = 3.8
2
+ PYTHON_VERSION = 3.10
3
3
PYTHON_INTERPRETER = python
4
4
5
5
29
29
30
30
31
31
tests :
32
- cd chapters; pytest --nbmake chap01.ipynb
32
+ cd chapters; pytest --nbmake chap* .ipynb
33
+ cd examples; pytest --nbmake * .ipynb
You can’t perform that action at this time.
0 commit comments