Skip to content

Commit 5802a78

Browse files
gaogaotiantianHyukjinKwon
authored andcommitted
[SPARK-55313][PYTHON][FOLLOW-UP] Do not auto-activate conda for CI
### What changes were proposed in this pull request? Set `auto-activate` to `false` for conda action. ### Why are the changes needed? After reading https://github.com/conda-incubator/setup-miniconda/blob/main/action.yml I think the previous change to `activate-environment` applies to *new* shells, which is also helpful. However, the immediate fix we need is to not activate conda environments in the *current* shell. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? CI should show (the previous fix did not fix coverage run). ### Was this patch authored or co-authored using generative AI tooling? No. Closes #54120 from gaogaotiantian/fix-conda-auto-activate. Authored-by: Tian Gao <gaogaotiantian@hotmail.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent b91d407 commit 5802a78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ jobs:
638638
with:
639639
miniforge-version: latest
640640
activate-environment: ""
641+
auto-activate: false
641642
# Run the tests.
642643
- name: Run tests
643644
env: ${{ fromJSON(inputs.envs) }}

0 commit comments

Comments
 (0)