Loading build-and-test-py-project-within-miniconda.sh +1 −1 Original line number Diff line number Diff line Loading @@ -30,11 +30,11 @@ if [ -d test ]; then fi fi rm -Rf if ! test -z "$TESTABLES"; then echo "TESTABLES: $TESTABLES" ulimit -c unlimited # Need to set both _TEST and _CTX because doctests do not use _TEST. ${PY_EXE} -m pytest -rw --durations=10 --tb=native -rxs $TESTABLES # Avoid https://github.com/pytest-dev/pytest/issues/754: Loading build-py-project-within-miniconda.sh +3 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ PATH="$MINICONDA_INSTALL_DIR/bin:$PATH" conda env create --quiet --file "$CONDA_ source "$MINICONDA_INSTALL_DIR/bin/activate" testing # https://github.com/conda-forge/ocl-icd-feedstock/issues/11#issuecomment-456270634 rm -f .miniconda3/envs/testing/etc/OpenCL/vendors/system-*.icd # https://github.com/pypa/pip/issues/5345#issuecomment-386443351 export XDG_CACHE_HOME=$HOME/.cache/$CI_RUNNER_ID Loading Loading
build-and-test-py-project-within-miniconda.sh +1 −1 Original line number Diff line number Diff line Loading @@ -30,11 +30,11 @@ if [ -d test ]; then fi fi rm -Rf if ! test -z "$TESTABLES"; then echo "TESTABLES: $TESTABLES" ulimit -c unlimited # Need to set both _TEST and _CTX because doctests do not use _TEST. ${PY_EXE} -m pytest -rw --durations=10 --tb=native -rxs $TESTABLES # Avoid https://github.com/pytest-dev/pytest/issues/754: Loading
build-py-project-within-miniconda.sh +3 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ PATH="$MINICONDA_INSTALL_DIR/bin:$PATH" conda env create --quiet --file "$CONDA_ source "$MINICONDA_INSTALL_DIR/bin/activate" testing # https://github.com/conda-forge/ocl-icd-feedstock/issues/11#issuecomment-456270634 rm -f .miniconda3/envs/testing/etc/OpenCL/vendors/system-*.icd # https://github.com/pypa/pip/issues/5345#issuecomment-386443351 export XDG_CACHE_HOME=$HOME/.cache/$CI_RUNNER_ID Loading