mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 06:52:56 +00:00
Unify docs, test dev env
This commit is contained in:
6
Makefile
6
Makefile
@@ -54,10 +54,10 @@ dev/%: PORT?=8888
|
||||
dev/%: ## run a foreground container for a stack
|
||||
docker run -it --rm -p $(PORT):8888 $(DARGS) $(OWNER)/$(notdir $@) $(ARGS)
|
||||
|
||||
test-reqs: # install libraries required to run the integration tests
|
||||
pip install -r requirements-test.txt
|
||||
dev-env: # install libraries required to build docs and run tests
|
||||
conda env create -f environment.yml
|
||||
|
||||
test/%:
|
||||
test/%: ## run tests against a stack
|
||||
@TEST_IMAGE="$(OWNER)/$(notdir $@)" pytest test
|
||||
|
||||
test/base-notebook: ## test supported options in the base notebook
|
||||
|
13
environment.yml
Normal file
13
environment.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
name: docker-stacks
|
||||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.6
|
||||
- pytest
|
||||
- requests
|
||||
- sphinx>=1.6
|
||||
- sphinx_rtd_theme
|
||||
- pip:
|
||||
- docker
|
||||
- jupyter_alabaster_theme
|
||||
- recommonmark==0.4.0
|
4
readthedocs.yml
Normal file
4
readthedocs.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
conda:
|
||||
file: environment.yml
|
||||
python:
|
||||
version: 3
|
@@ -1,3 +0,0 @@
|
||||
docker
|
||||
pytest
|
||||
requests
|
Reference in New Issue
Block a user