devbump: 2024.10 #210
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
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 |