Skip to content

CI: add additional tests in commands section #55

CI: add additional tests in commands section

CI: add additional tests in commands section #55

Workflow file for this run

# 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-alignment
build-target: dev
additional-tests: py.test --pyargs q2_alignment
library-token: ${{ secrets.LIBRARY_TOKEN }}