File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 25
25
run : |
26
26
sudo apt-get install pandoc
27
27
python -m pip install -U pip
28
- python -m pip install -r requirements.txt
29
- python -m pip install git+https://github.com/astropy/nbcollection
28
+ python -m pip install -r requirements-dev.txt
30
29
31
30
- name : Execute the notebooks
32
31
run : |
Original file line number Diff line number Diff line change 29
29
run : |
30
30
sudo apt-get install pandoc
31
31
python -m pip install -U pip
32
- python -m pip install -r requirements.txt
33
- python -m pip install gitpython
34
- python -m pip install git+https://github.com/astropy/nbcollection
32
+ python -m pip install -r requirements-dev.txt
35
33
36
34
# Run all tutorials if the label is present
37
35
- name : Run all tutorials
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ MODIFIED := $(shell python .github/get_modified_tutorials.py --main-branch $(TUT
6
6
FLAGS = --flatten --build-path=. -v
7
7
CONVERTFLAGS = --make-index --preprocessors=nbconvert.preprocessors.ExtractOutputPreprocessor --index-template=templates/index.tpl
8
8
9
+ init :
10
+ python -m pip install -U -r requirements-dev.txt
11
+ pre-commit install
12
+
9
13
build : envcheck execute convert
10
14
buildall : envcheck executeall convertall
11
15
@@ -27,4 +31,4 @@ convertall:
27
31
clean :
28
32
rm -rf _build
29
33
30
- .PHONY : all clean execute convert executeall convertall build buildall
34
+ .PHONY : init all clean execute convert executeall convertall build buildall
Original file line number Diff line number Diff line change
1
+ -r requirements.txt
2
+ gitpython
3
+ git+https://github.com/astropy/nbcollection
4
+ pre-commit
You can’t perform that action at this time.
0 commit comments