Skip to content

Commit 8313ecf

Browse files
committed
use the new makefile
1 parent 1ec3d8e commit 8313ecf

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/prs.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,12 @@ jobs:
3535
- name: Run all tutorials
3636
if: contains(github.event.pull_request.labels.*.name, 'Run all tutorials')
3737
run: |
38-
echo "TUTORIALS=tutorials" >> $GITHUB_ENV
38+
make executeall
39+
make convertall
3940
4041
# Otherwise, only run tutorials that have been modified
4142
- name: Run only modified tutorials
4243
if: "!contains(github.event.pull_request.labels.*.name, 'Run all tutorials')"
4344
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

0 commit comments

Comments
 (0)