CI: additional tests in recipe (#91) #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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-vsearch | |
build-target: dev | |
additional-tests: py.test --pyargs q2_vsearch | |
library-token: ${{ secrets.LIBRARY_TOKEN }} |