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

Commit 6b8caff

Browse files
test package using miniconda
1 parent 83a890d commit 6b8caff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ jobs:
8989
- name: Install dependencies Linux
9090
if: runner.os == 'linux'
9191
run: |
92-
export PATH=$PATH:$HOME/miniconda/condabin/
93-
conda init && source ~/.bashrc
92+
export PATH=$PATH:$HOME/miniconda/bin/
93+
conda init
9494
conda create -y -n ${{env.MODEL_NAME}} python=3.11
9595
conda activate ${{env.MODEL_NAME}}
9696
python -m pip install --upgrade pip
@@ -99,8 +99,8 @@ jobs:
9999
- name: Install dependencies Mac
100100
if: runner.os == 'macOS'
101101
run: |
102-
export PATH=$PATH:$HOME/miniconda/condabin/
103-
conda init && source ~/.zshrc
102+
export PATH=$PATH:$HOME/miniconda/bin/
103+
conda init
104104
conda create -y -n ${{env.MODEL_NAME}} python=3.11
105105
conda activate ${{env.MODEL_NAME}}
106106
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)