diff --git a/conda-recipe/run_test.sh b/conda-recipe/run_test.sh index 113e979203ceb0b1ec5336d144070b2646a21903..c26985eeaf67e9361b77f2d467cb08ff1dcd2329 100755 --- a/conda-recipe/run_test.sh +++ b/conda-recipe/run_test.sh @@ -60,7 +60,7 @@ python -c "import scopesim" || pip install "ScopeSIM==0.5.4" # ScopeSim_Templates fetches data from the internet, which does not work # when using conda-build. -#python -c "import scopesim_templates" || pip install git+https://github.com/AstarVienna/ScopeSim_Templates.git@dev_master +#python -c "import scopesim_templates" || pip install -e git+https://github.com/AstarVienna/ScopeSim_Templates.git@master python -c "import scopesim_templates" || pip install "ScopeSIM_Templates==0.4.2" # TODO: Fetch ScopeSim data package. @@ -133,7 +133,6 @@ fi echo "Running functional tests." coverage run --branch --source="${MICADO_DIR}" -m pytest \ "${SRC_DIR}/src/micado/test/functional" -#python -m pytest "${SRC_DIR}/src/micado/test/functional" # Do integration tests, in particular database and CPL tests. # These tests are not required to build the package, only in CI. @@ -177,7 +176,7 @@ coverage report -m # TODO: Reenable flake8 #flake8 --docstring-convention google --max-line-length 120 --max-doc-length 80 --extend-ignore=E203 "${SRC_DIR}/src/micado" -black --check "${SRC_DIR}/src/micado" +black --check --exclude "notebooks/*" "${SRC_DIR}/src/micado" # Install sourcery. This might break things and is thus disabled for now. #pip install sourcery-cli