-
Notifications
You must be signed in to change notification settings - Fork 9
57 lines (54 loc) · 1.46 KB
/
python-package-conda.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: GitHub Actions Weekly Build (V2)
on:
push:
pull_request:
schedule:
- cron: "0 0 */7 * *"
jobs:
build-linux:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v4
- name: Check out Repo
uses: actions/setup-python@v5
with:
python-version: 3.9.19
- name: Initiate conda channels
uses: conda-incubator/setup-miniconda@v3
with:
channels: conda-forge,bioconda,default
auto-activate-base: true
- name: Initialize conda
run: |
conda info
- name: Set up QIIME Conda environment
run: |
conda env create -n testenv --file=https://data.qiime2.org/distro/amplicon/qiime2-amplicon-2024.5-py39-linux-conda.yml
- name: Install Dependencies
run: |
conda activate testenv
conda install biopython=1.84
pip install pyzstd
pip install pytest
pip install .
- name: Test with pytest
run: |
# echo "begin: PATH=$PATH;"
conda activate testenv
# echo "after conda activate testenv: PATH=$PATH;"
#conda info
#ls $CONDA/bin
pwd
pytest
- name: Test qiime install
run: |
ls
#conda activate testenv
#conda info
#$CONDA/bin/qiime dev refresch-cache
#$CONDA/bin/qiime itsxpress --help