Skip to content

Commit

Permalink
CI: force cleanup on setup fail
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Apr 4, 2024
1 parent c13744f commit 52d4ac7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ jobs:
PYTHONPATH=./src/Python python -m unittest discover ./test
- if: always()
name: Post Run conda-incubator/setup-miniconda@v3
shell: bash
run: |
conda deactivate
sed -i '/${{ steps.reqs.outputs.envname }}/d' ~/.profile
source ~/.profile
conda env remove -n "${{ steps.reqs.outputs.envname }}"
test:
defaults: {run: {shell: 'bash -el {0}'}}
Expand Down

0 comments on commit 52d4ac7

Please sign in to comment.