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

Commit 0970001

Browse files
test package using miniconda
1 parent 36cf7bd commit 0970001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ jobs:
9090
if: runner.os == 'linux'
9191
run: |
9292
export PATH=$PATH:$HOME/miniconda/condabin/
93-
conda create -y -n ${{env.MODEL_NAME}} python=3.11
9493
conda init
94+
conda create -y -n ${{env.MODEL_NAME}} python=3.11
9595
conda activate ${{env.MODEL_NAME}}
9696
python -m pip install --upgrade pip
9797
python -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
@@ -100,8 +100,8 @@ jobs:
100100
if: runner.os == 'macOS'
101101
run: |
102102
export PATH=$PATH:$HOME/miniconda/condabin/
103-
conda create -y -n ${{env.MODEL_NAME}} python=3.11
104103
conda init
104+
conda create -y -n ${{env.MODEL_NAME}} python=3.11
105105
conda activate ${{env.MODEL_NAME}}
106106
python -m pip install --upgrade pip
107107
python -m pip install -r ${{env.MODEL_DIR}}/requirements.txt

0 commit comments

Comments
 (0)