Skip to content

Core Testing

Core Testing #100

Workflow file for this run

name: Core Testing
on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/bioservices/services.py
- src/bioservices/xmltools.py
pull_request:
branches-ignore: []
paths:
- src/bioservices/services.py
- src/bioservices/xmltools.py
schedule:
- cron: '0 0 1 * *'
jobs:
build-linux:
runs-on: ubuntu-18.04
strategy:
max-parallel: 5
matrix:
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
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
run: |
pip install .[testing]
- name: Test with pytest
run: |
pytest -n 1 --cov-report term --cov=bioservices.services --cov bioservices.xmltools test/test_*py