added coverage workflow

This commit is contained in:
Abubakar Abid 2021-10-13 22:44:11 -05:00
parent c226eabe68
commit 16786542a0

View File

@ -7,7 +7,7 @@ jobs:
OS: ubuntu-latest OS: ubuntu-latest
PYTHON: '3.9' PYTHON: '3.9'
steps: steps:
- uses: checkout@v2 - uses: actions/checkout@master
with: with:
fetch-depth: 2 fetch-depth: 2
@ -20,5 +20,5 @@ jobs:
pip install coverage pip install coverage
coverage run -m unittest coverage run -m unittest
- name: Upload Coverage to Codecov - name: Upload Coverage to Codecov
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v2
with: with: