Skip to content

Commit a612c77

Browse files
JGreenleeshankari
authored andcommitted
fix EnvironmentLocationNotFound error during test-with-manual-install
"Teardown the test environment" has been consistently failing. ``` Run source setup/teardown_tests.sh Removing environment from CondaError: Run 'conda init' before 'conda deactivate' EnvironmentLocationNotFound: Not a conda environment: /usr/share/miniconda/envs/emissiontest Error: Process completed with exit code 1. ``` I noticed that test-with-manual-install.yml follows a similar teardown procedure (with 'emission' as the environment instead of 'emissiontest') I saw that test-with-manual-install.yml invokes activates_conda.sh again right before calling the teardown script
1 parent e362a9a commit a612c77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test-with-manual-install.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,6 @@ jobs:
7070
7171
- name: Teardown the test environment
7272
shell: bash -l {0}
73-
run: source setup/teardown_tests.sh
73+
run: |
74+
source setup/activate_conda.sh
75+
source setup/teardown_tests.sh

0 commit comments

Comments
 (0)