Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 83a890d

Browse files
test package using miniconda
1 parent 38268dd commit 83a890d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,8 @@ jobs:
9090
if: runner.os == 'linux'
9191
run: |
9292
export PATH=$PATH:$HOME/miniconda/condabin/
93-
conda init
93+
conda init && source ~/.bashrc
9494
conda create -y -n ${{env.MODEL_NAME}} python=3.11
95-
source activate base
9695
conda activate ${{env.MODEL_NAME}}
9796
python -m pip install --upgrade pip
9897
python -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
@@ -101,9 +100,8 @@ jobs:
101100
if: runner.os == 'macOS'
102101
run: |
103102
export PATH=$PATH:$HOME/miniconda/condabin/
104-
conda init
103+
conda init && source ~/.zshrc
105104
conda create -y -n ${{env.MODEL_NAME}} python=3.11
106-
source activate base
107105
conda activate ${{env.MODEL_NAME}}
108106
python -m pip install --upgrade pip
109107
python -m pip install -r ${{env.MODEL_DIR}}/requirements.txt

0 commit comments

Comments
 (0)