File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -35,22 +35,12 @@ jobs:
35
35
- name : Run all tutorials
36
36
if : contains(github.event.pull_request.labels.*.name, 'Run all tutorials')
37
37
run : |
38
- echo "TUTORIALS=tutorials" >> $GITHUB_ENV
38
+ make executeall
39
+ make convertall
39
40
40
41
# Otherwise, only run tutorials that have been modified
41
42
- name : Run only modified tutorials
42
43
if : " !contains(github.event.pull_request.labels.*.name, 'Run all tutorials')"
43
44
run : |
44
- MODIFIED="$(python .github/get_modified_tutorials.py .)"
45
- echo "Modified tutorials: $MODIFIED"
46
- echo "TUTORIALS=$MODIFIED" >> $GITHUB_ENV
47
-
48
- - name : Execute the tutorials
49
- if : env.TUTORIALS != ''
50
- run : |
51
- nbcollection execute --timeout=600 --flatten --build-path=. -v ${{ env.TUTORIALS }}
52
-
53
- - name : Convert the notebooks to HTML
54
- if : env.TUTORIALS != ''
55
- run : |
56
- nbcollection convert --flatten --build-path=. -v --make-index --index-template=templates/index.tpl ${{ env.TUTORIALS }}
45
+ make execute
46
+ make convert
You can’t perform that action at this time.
0 commit comments