Skip to content

Fixed unit test runs #5

Fixed unit test runs

Fixed unit test runs #5

Workflow file for this run

name: Run Tests On Push
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3.10.3
uses: actions/setup-python@v1
with:
python-version: 3.10.13
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pytest pytest-cov
echo requirements installed
- name: Run tests
run: |
pytest tests/test_*.py --doctest-modules --junitxml=junit/test-results.xml --cov=tests --cov-report=xml --cov-report=html