Skip to content

Commit 746f39f

Browse files
author
zhoujiamei
committed
export conda path
1 parent 502aa7f commit 746f39f

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/all_tests_metax.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,15 @@ jobs:
1919
# Metax Environment Setup
2020
setup_commands: |
2121
22-
if [ -f "/opt/conda/etc/profile.d/conda.sh" ]; then
23-
source /opt/conda/etc/profile.d/conda.sh
24-
25-
conda activate flagscale-train || echo "Using default conda environment"
26-
fi
22+
23+
export PATH=/opt/conda/bin:$PATH
24+
2725
2826
export LD_LIBRARY_PATH=/usr/local/maca/lib:/opt/maca/lib:$LD_LIBRARY_PATH
2927
30-
python3 --version
28+
3129
which python3
30+
python3 -m pip --version
3231
3332
all_tests:
3433
needs: run_tests

0 commit comments

Comments
 (0)