File tree 4 files changed +16
-2
lines changed
4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,10 @@ clean-notebooks:
2
2
echo " Cleaning notebooks"
3
3
find ./ -name " *.ipynb" | xargs python3 -m nbconvert --ClearOutputPreprocessor.enabled=True --inplace
4
4
echo " Removing checkpoints"
5
- find . -type d -iname .ipynb_checkpoints -exec rm -r {} +
5
+ find . -type d -iname .ipynb_checkpoints -exec rm -r {} +
6
+
7
+ build-images :
8
+ docker-compose build notebook
9
+
10
+ run-tests : build-images
11
+ docker-compose -f docker-compose.yml -f docker-compose.test.yml run notebook
Original file line number Diff line number Diff line change
1
+ version : " 3.6"
2
+ services :
3
+ notebook :
4
+ entrypoint : " pytest --nbval-lax image/quality/brisque.ipynb"
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ FROM jupyter/minimal-notebook:latest
2
2
3
3
ADD requirements /requirements
4
4
5
- RUN pip install -r /requirements/requirements.txt
5
+ RUN pip install -r /requirements/requirements.dev. txt
Original file line number Diff line number Diff line change
1
+ -r requirements.txt
2
+
3
+ pytest==5.4.1
4
+ nbval==0.9.5
You can’t perform that action at this time.
0 commit comments