Skip to content

Commit babb923

Browse files
add first worflows/linux_conda.yaml
1 parent 54ee9b4 commit babb923

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/linux_conda.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,21 @@ jobs:
2727

2828
- name: Initialize Conda
2929
run: |
30-
conda init bash # Initializes Conda to work with bash shell
31-
source ~/.bashrc # Applies the changes from conda init
30+
echo "Initializing Conda..."
31+
conda init --all # Initialize Conda for all shells
32+
source ~/.bashrc # Apply the changes from conda init
33+
echo "Cond initialized, checking PATH:"
34+
echo $PATH # Check the environment variables to verify conda is working
3235
3336
- name: Create Conda environment and install lue
3437
run: |
35-
conda create --name lue python=3.10 -y
36-
conda activate lue
37-
conda install -c conda-forge lue -y
38+
conda create --name lue python=3.10 -y # Create the Conda environment
39+
conda activate lue # Activate the environment
40+
conda install -c conda-forge lue -y # Install lue in the environment
41+
echo "Installation complete!"
3842
39-
# - name: Run tests (Linux) # Uncomment and fill out this part when you're ready to add test commands
43+
# Uncomment and fill out this part when you're ready to add test commands
44+
# - name: Run tests (Linux)
4045
# run: |
4146
# conda activate lue
42-
# pytest # or any other test command
47+
# pytest # or any other test command

0 commit comments

Comments
 (0)