Skip to content

Commit

Permalink
change structure of initiating conda bash and sourcing bash in workfl…
Browse files Browse the repository at this point in the history
…ows main.yml
  • Loading branch information
Tillsa committed Sep 8, 2023
1 parent 8687f37 commit 7ba1849
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ jobs:
- name: Add reademption bin to PATH
shell: bash
run: echo "bin" >> $GITHUB_PATH
- run: conda init bash
- run: source /home/runner/.bashrc
- run: conda activate myenv
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -67,6 +64,15 @@ jobs:
- name: Update
shell: bash
run: sudo apt-get update
- name: init bash
shell: bash
run: conda init bash
- name: source bash
shell: bash
run: source /home/runner/.bashrc
- name: activate conda env
shell: bash
run: conda 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 7ba1849

Please sign in to comment.