Skip to content

Add pytest

Add pytest #1

Workflow file for this run

name: tests
on:
pull_request:
push:
branches: [main]
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r setup/requirements.txt -r setup/development/requirements.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html