Skip to content

Commit

Permalink
Make mamba overwrite the existing lockfile on cache miss (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjbenfold authored Feb 14, 2022
1 parent a210133 commit 1d46964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ task:
- cat ${CIRRUS_WORKING_DIR}/requirements/py$(echo ${PY_VER} | tr -d ".").yml
populate_script:
- conda-lock --mamba --platform linux-64 --file ${CIRRUS_WORKING_DIR}/requirements/py$(echo ${PY_VER} | tr -d ".").yml
- mamba create --name py${PY_VER} --quiet --file conda-linux-64.lock
- mamba create --name py${PY_VER} --quiet --file conda-linux-64.lock --yes
- cp conda-linux-64.lock ${HOME}/mambaforge/envs/py${PY_VER}
test_script:
- cat ${HOME}/mambaforge/envs/py${PY_VER}/conda-linux-64.lock >&2
Expand Down

0 comments on commit 1d46964

Please sign in to comment.