-
Notifications
You must be signed in to change notification settings - Fork 36
55 lines (46 loc) · 1.26 KB
/
ci.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
# This file is automatically generated by busywork.qiime2.org and
# template-repos - any manual edits made to this file will be erased when
# busywork performs maintenance updates.
name: ci
on:
pull_request:
push:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v2
- name: set up python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: install dependencies
run: python -m pip install --upgrade pip
- name: lint
run: |
pip install -q https://github.com/qiime2/q2lint/archive/master.zip
q2lint
pip install -q flake8
flake8
build-and-test:
needs: lint
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout source
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: set up git repo for versioneer
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: qiime2/action-library-packaging@alpha1
with:
package-name: q2-dada2
build-target: dev
additional-tests: py.test --pyargs q2_dada2
library-token: ${{ secrets.LIBRARY_TOKEN }}