Skip to content

Commit 52d4ac7

Browse files
committed
CI: force cleanup on setup fail
1 parent c13744f commit 52d4ac7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ jobs:
4242
PYTHONPATH=./src/Python python -m unittest discover ./test
4343
- if: always()
4444
name: Post Run conda-incubator/setup-miniconda@v3
45+
shell: bash
4546
run: |
46-
conda deactivate
4747
sed -i '/${{ steps.reqs.outputs.envname }}/d' ~/.profile
48+
source ~/.profile
4849
conda env remove -n "${{ steps.reqs.outputs.envname }}"
4950
test:
5051
defaults: {run: {shell: 'bash -el {0}'}}

0 commit comments

Comments
 (0)