Skip to content

Commit 6512832

Browse files
committed
Use conda-incubator/setup-miniconda
1 parent 1ffac55 commit 6512832

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,16 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
max-parallel: 5
10+
defaults:
11+
run:
12+
shell: bash -el {0}
1013

1114
steps:
1215
- uses: actions/checkout@v4
13-
- name: Set up Python 3.10
14-
uses: actions/setup-python@v5
16+
- uses: conda-incubator/setup-miniconda@v3
1517
with:
16-
python-version: '3.9'
17-
- name: Add conda to system path
18-
run: |
19-
# $CONDA is an environment variable pointing to the root of the miniconda directory
20-
echo $CONDA/bin >> $GITHUB_PATH
21-
- name: Setup Conda environment
22-
run: |
23-
conda env update --file environment.yml --name base
18+
activate-environment: rnaseq-pipeline
19+
environment-file: environment.yml
2420
- name: Install package
2521
run: |
2622
pip install .[gsheet,webviewer]

0 commit comments

Comments
 (0)