Skip to content

MAINT: Travis-CI -> GitHub Actions in plugin docs #199

MAINT: Travis-CI -> GitHub Actions in plugin docs

MAINT: Travis-CI -> GitHub Actions in plugin docs #199

Workflow file for this run

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 flake8
flake8
verify:
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v2
- name: install QIIME 2 core distro
run: |
envFile=qiime2-latest-py38-linux-conda.yml
wget https://raw.githubusercontent.com/qiime2/environment-files/master/latest/staging/$envFile
conda env create -q -p ./test-env --file $envFile
- name: install conda dependencies
shell: bash -l {0}
run: |
source "$CONDA/etc/profile.d/conda.sh"
conda install -p ./test-env -q pip
- name: install pip dependencies
shell: bash -l {0}
run: |
source "$CONDA/etc/profile.d/conda.sh"
conda activate ./test-env
pip install -r requirements.txt
- name: build docs
shell: bash -l {0}
env:
SPHINXOPTS: -q
run: |
source "$CONDA/etc/profile.d/conda.sh"
conda activate ./test-env
make clean && make dummy && make preview