File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66jobs :
77 test :
88 runs-on : ubuntu-latest
9- timeout-minutes : 60
9+ timeout-minutes : 90
1010 defaults :
1111 run :
1212 shell : bash -l {0}
@@ -22,27 +22,10 @@ jobs:
2222 - name : Install test dependencies
2323 run : |
2424 conda activate pyleo
25- pip install nbmake
25+ pip install pytest-xdist nbmake
2626 conda list
2727
28- - name : Test notebooks
29- run : |
30- conda activate pyleo
31- mkdir -p executed
32- for nb in notebooks/*.ipynb; do
33- echo "=== Running $nb ==="
34- timeout 300 pytest --nbmake -v --tb=long --overwrite --nbmake-timeout=120 "$nb" || true
35- cp "$nb" executed/
36- done
37-
38- - name : Upload executed notebooks
39- if : always()
40- uses : actions/upload-artifact@v4
41- with :
42- name : executed-notebooks
43- path : executed/*.ipynb
44-
4528 - name : Check for failures
4629 run : |
4730 conda activate pyleo
48- pytest --nbmake -v --tb=long --nbmake-timeout=120 notebooks/*ipynb
31+ pytest --nbmake -v --tb=long --nbmake-timeout=3600 notebooks/*ipynb
You can’t perform that action at this time.
0 commit comments