Skip to content

Commit 2030aa0

Browse files
committed
test only using convert
1 parent efedb6a commit 2030aa0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ CONVERTFLAGS = --make-index --preprocessors=nbconvert.preprocessors.ExtractOutpu
1818
init:
1919
python -m pip install -U -r requirements-dev.txt
2020

21-
build: execute convert
22-
buildall: executeall convertall
21+
build: convert
22+
buildall: convertall
2323

2424
execute:
2525
i=0; \
@@ -36,7 +36,8 @@ convert:
3636
_paths=($(MODIFIED_RQT_PATHS)); \
3737
for notebook in ${MODIFIED_NOTEBOOKS}; do \
3838
echo Installing requirements from $${_paths[i]}; \
39-
nbcollection convert ${CONVERTFLAGS} ${FLAGS} $$notebook; \
39+
python -m pip install --force-reinstall -r $${_paths[i]} > /dev/null; \
40+
nbcollection convert --timeout=600 ${CONVERTFLAGS} ${FLAGS} $$notebook; \
4041
i=$$((i+1)); \
4142
done
4243

@@ -55,7 +56,8 @@ convertall:
5556
_paths=($(ALL_RQT_PATHS)); \
5657
for notebook in ${ALL_NOTEBOOKS}; do \
5758
echo Installing requirements from $${_paths[i]}; \
58-
nbcollection convert ${CONVERTFLAGS} ${FLAGS} $$notebook; \
59+
python -m pip install --force-reinstall -r $${_paths[i]} > /dev/null; \
60+
nbcollection convert --timeout=600 ${CONVERTFLAGS} ${FLAGS} $$notebook; \
5961
i=$$((i+1)); \
6062
done
6163

0 commit comments

Comments
 (0)