Skip to content

Commit

Permalink
Testing conda environment activation
Browse files Browse the repository at this point in the history
  • Loading branch information
martinesparza committed Sep 30, 2024
1 parent 34c9410 commit b1c1289
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/conda-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.7
auto-update-conda: false

- name: Create and activate Conda environment
- name: Initialize Conda and create environment
shell: bash -l {0}
run: |
conda init bash
source ~/.bashrc
conda create -n my_env python=3.7 -y
source activate my_env
- name: Install dependencies in Conda environment
- name: Activate Conda environment and install dependencies
shell: bash -l {0}
run: |
conda activate my_env
conda install numpy matplotlib scipy -y
pip install pandas

0 comments on commit b1c1289

Please sign in to comment.