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

Commit 2f07fc3

Browse files
test package using miniconda
1 parent 6b8caff commit 2f07fc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
export PATH=$PATH:$HOME/miniconda/bin/
9393
conda init
9494
conda create -y -n ${{env.MODEL_NAME}} python=3.11
95+
source $HOME/miniconda/bin/activate base
9596
conda activate ${{env.MODEL_NAME}}
9697
python -m pip install --upgrade pip
9798
python -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
@@ -102,6 +103,7 @@ jobs:
102103
export PATH=$PATH:$HOME/miniconda/bin/
103104
conda init
104105
conda create -y -n ${{env.MODEL_NAME}} python=3.11
106+
source $HOME/miniconda/bin/activate base
105107
conda activate ${{env.MODEL_NAME}}
106108
python -m pip install --upgrade pip
107109
python -m pip install -r ${{env.MODEL_DIR}}/requirements.txt

0 commit comments

Comments
 (0)