Skip to content

Commit

Permalink
ci: add action for code coverage (#363)
Browse files Browse the repository at this point in the history
* test: workflow test run

* test: workflow test run

* ci: add action for code coverage

* test: revert README file change
  • Loading branch information
NishaSharma14 authored Sep 4, 2023
1 parent 170f631 commit 9c6630c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,8 @@ jobs:
flake8 --per-file-ignores="__init__.py:F401" --ignore E402,E501,W503 $(git ls-files '*.py') .
- name: Run test
run: |
python3 -m pytest -p no:warnings
python3 -m pytest -p no:warnings
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 9c6630c

Please sign in to comment.