Skip to content

Merge pull request #43 from utsavll0/neha7799-patch-1 #44

Merge pull request #43 from utsavll0/neha7799-patch-1

Merge pull request #43 from utsavll0/neha7799-patch-1 #44

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