Skip to content

Commit

Permalink
Add Python 2.7 code coverage (#126)
Browse files Browse the repository at this point in the history
* Add flags for python 2.7

* Fail ci if error

* Add new line

Co-authored-by: benank <[email protected]>
  • Loading branch information
benank and benank authored Mar 17, 2022
1 parent 0305b5d commit abbe3e8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
flags: python39
name: python-39
fail_ci_if_error: true
codecov-python-27:
runs-on: windows-latest
steps:
Expand All @@ -38,4 +42,8 @@ jobs:
coverage run -m unittest discover -s src
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v2
with:
flags: python27
name: python-27
fail_ci_if_error: true

0 comments on commit abbe3e8

Please sign in to comment.