Update action.yml
This commit is contained in:
+16
-18
@@ -161,26 +161,24 @@ runs:
|
||||
echo "Exit Code: 0" >> $LOG_FILE
|
||||
fi
|
||||
;;
|
||||
|
||||
conda)
|
||||
|
||||
conda)
|
||||
echo "3 - Setting up conda environment..."
|
||||
curl -fsSL https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh
|
||||
bash miniconda.sh -b -p $HOME/miniconda >> $LOG_FILE 2>&1
|
||||
export PATH="$HOME/miniconda/bin:$PATH"
|
||||
source "$HOME/miniconda/etc/profile.d/conda.sh"
|
||||
conda)
|
||||
echo "3 - Setting up conda environment..."
|
||||
curl -fsSL https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh
|
||||
bash miniconda.sh -b -p $HOME/miniconda >> $LOG_FILE 2>&1
|
||||
export PATH="$HOME/miniconda/bin:$PATH"
|
||||
source "$HOME/miniconda/etc/profile.d/conda.sh"
|
||||
|
||||
if [ -f "environment.yml" ]; then
|
||||
conda env create -f environment.yml >> $LOG_FILE 2>&1 || exit 1
|
||||
conda activate slic || true
|
||||
echo "📋 Conda environment details:" >> "$VERSIONS_FILE"
|
||||
conda list >> "$VERSIONS_FILE" 2>&1
|
||||
else
|
||||
echo "⚠️ No environment.yml found, skipping" >> "$LOG_FILE"
|
||||
fi
|
||||
echo "Exit Code: 0" >> $LOG_FILE
|
||||
;;
|
||||
if [ -f "environment.yml" ]; then
|
||||
conda env create -f environment.yml >> $LOG_FILE 2>&1 || exit 1
|
||||
conda activate slic || true
|
||||
echo "📋 Conda environment details:" >> "$VERSIONS_FILE"
|
||||
conda list >> "$VERSIONS_FILE" 2>&1
|
||||
else
|
||||
echo "⚠️ No environment.yml found, skipping" >> "$LOG_FILE"
|
||||
fi
|
||||
echo "Exit Code: 0" >> $LOG_FILE
|
||||
;;
|
||||
esac
|
||||
|
||||
- name: Install CI test tooling
|
||||
|
||||
Reference in New Issue
Block a user