kegg Testing #42
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: kegg Testing | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- src/bioservices/kegg.py | |
pull_request: | |
branches-ignore: [] | |
paths: | |
- src/bioservices/kegg.py | |
schedule: | |
- cron: '0 0 1 * *' | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
matrix: | |
python: [3.7, 3.8, 3.9] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.X | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install the package itself and dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install . | |
pip install -r requirements_dev.txt | |
- name: Test with pytest | |
run: | | |
pytest -n 1 --cov-report term --cov=bioservices.kegg test/webservices/test_kegg.py | |