Skip to content

Commit

Permalink
Safely remove python dependency from environment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucmos committed Jan 10, 2022
1 parent afc8b92 commit b59b085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Remove explicit python version from the environment
shell: bash -l {0}
run: |
sed -i '/python=.*/d' ${{ env.CONDA_ENV_FILE }}
sed -Ei '/^\s*-?\s*python\s*([#=].*)?$/d' ${{ env.CONDA_ENV_FILE }}
cat ${{ env.CONDA_ENV_FILE }}
- name: Setup Mambaforge
Expand Down

0 comments on commit b59b085

Please sign in to comment.