Skip to content

Commit

Permalink
Merge branch 'main' into add-more-pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aritra8438 committed Jul 6, 2023
2 parents 3491dbc + 570f2f8 commit 6b29e75
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Pytest

on: [push]
on: [push, pull_request]

jobs:
build:
Expand All @@ -22,3 +22,11 @@ jobs:
pip install -r requirements.txt
- name: Run tests with pytest
run: pytest -s
- name: Get coverage report
run: |
pip install coverage
coverage run -m pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 6b29e75

Please sign in to comment.