Skip to content

Pytest master branch #48

Pytest master branch

Pytest master branch #48

name: Pytest master branch
# This workflow will run `pytest` on the latest commit of the master
# branch, after having installed the package with pip.
# It will run on the latest Ubuntu and on the latest python.
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
# Also trigger on page_build, as well as release created events
page_build:
release:
types: # This configuration does not affect the page_build event above
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install the package from the git repo
run: pip install ./
- name: Install BLAST and VSEARCH
run: sudo apt-get install -y ncbi-blast+ vsearch
- name: Test with pytest
run: crest4 --pytest