Add test for environment.yml + --target-repo-dir
conda sometimes puts stuff in $HOME - specifically under .conda/ -
that might cause package installs to fail due to permission mismatches.
Ref
RENAME
tests/venv/repo-path/README.rst
tests/conda/repo-path/README.rst
ADD
tests/conda/repo-path/environment.yml
+dependencies:
+ - numpy

RENAME
tests/venv/repo-path/extra-args.yaml
tests/conda/repo-path/extra-args.yaml
RENAME
tests/venv/repo-path/verify
tests/conda/repo-path/verify
@@ -8,3 +8,6 @@ assert sys.executable == '/srv/conda/bin/python'
# Repo should be in /srv/repo
assert os.path.exists('/srv/repo/verify')
assert os.path.abspath(__file__) == '/srv/repo/verify'
+
+# We should be able to import the package in environment.yml
+import numpy

Add test for environment.yml + --target-repo-dir

conda sometimes puts stuff in $HOME - specifically under .conda/ -
that might cause package installs to fail due to permission mismatches.

Ref https://github.com/jupyter/repo2docker/issues/604