Skip to content

Merge pull request #44 from utsavll0/Viggy12126-patch-1 #46

Merge pull request #44 from utsavll0/Viggy12126-patch-1

Merge pull request #44 from utsavll0/Viggy12126-patch-1 #46

Workflow file for this run

name: Running Code Coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Python 3.10.13
uses: actions/setup-python@v1
with:
python-version: 3.10.13
- name: Install dependencies
run: |
pip install pytest-cov pytest
pip install -r requirements.txt
echo requirements installed
- name: Run the tests
run: |
pytest tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}