Skip to content

Commit

Permalink
Use mamba, remove index caching.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice authored and b-butler committed Nov 13, 2023
1 parent f698f4a commit 0f05207
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions projects/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

set -euo pipefail

export USE_INDEX_CACHE=""
for PROJECT in `ls -d */`; do
if [[ "$CI" ]]; then
echo "::group::Testing ${PROJECT}"
Expand All @@ -21,9 +20,7 @@ for PROJECT in `ls -d */`; do
echo "Installing requirements:"
cat ${REQUIREMENTS_FILE}

# Re-use the conda index cache after the first time.
conda install --yes ${USE_INDEX_CACHE} --file ${REQUIREMENTS_FILE} --quiet
export USE_INDEX_CACHE="--use-index-cache"
mamba install --yes --file ${REQUIREMENTS_FILE} --quiet
fi
python flow-test.py ${PROJECT} -vv --timeout=600 $@
if [[ "$CI" ]]; then
Expand Down

0 comments on commit 0f05207

Please sign in to comment.