-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (37 loc) · 1.12 KB
/
q2.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
name: "QIIME 2 CI"
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Download Q2 file
run: wget -q https://raw.githubusercontent.com/qiime2/environment-files/master/latest/staging/qiime2-latest-py36-linux-conda.yml
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: q2-evident
environment-file: qiime2-latest-py36-linux-conda.yml
- name: Install conda packages
shell: bash -l {0}
run: conda install -c conda-forge -c anaconda pandas pytest flake8 pytest-cov statsmodels scikit-bio seaborn
- name: Install evident
shell: bash -l {0}
run: pip install -e .[dev]
- name: Refresh QIIME 2 cache
shell: bash -l {0}
run: qiime dev refresh-cache
- name: Check style
shell: bash -l {0}
run: make q2_stylecheck
- name: Run tests
shell: bash -l {0}
run: make q2_test