Skip to content

using pipeline guide and links to installation (#66) #60

using pipeline guide and links to installation (#66)

using pipeline guide and links to installation (#66) #60

Workflow file for this run

name: ci
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: 'actions/checkout@v3'
- name: Setup ncbi-blast+
run: |
sudo apt update
sudo apt install ncbi-blast+ -y
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.9
- name: Generate coverage report
run: |
pip install --upgrade pip
pip install '.[test]'
coverage run -m pytest test/unit
coverage xml -o coverage.xml
env:
DATA_DIR: ${{ env.DATA_DIR }}
FILE_SYSTEM: ${{ env.FILE_SYSTEM }}
EMAIL: ${{ secrets.EMAIL }}
API_KEY: ${{ secrets.API_KEY }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: .
env_vars: OS,PYTHON
fail_ci_if_error: true
files: coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocstrings[python]
#- run: mkdocs build
- run: mkdocs gh-deploy --force