Skip to content

Commit

Permalink
Activate conda env via source in workflows main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tillsa authored Sep 8, 2023
1 parent 720e426 commit 938acb8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ jobs:
run: conda init bash
- name: source bash
shell: bash
run: exec bash
#run: source /home/runner/.bashrc
#run: exec bash
run: source /home/runner/.bashrc
- name: activate conda env
shell: bash
run: conda activate myenv
# run: conda activate myenv
run: source activate myenv
- name: Install packages
shell: bash
run: sudo apt-get install -y python3 python3-setuptools python3-pip cython3 zlib1g-dev make libncurses5-dev libxml2-dev libcurl4-openssl-dev r-base
Expand Down

0 comments on commit 938acb8

Please sign in to comment.