Skip to content

Commit

Permalink
Upload code coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
samdoran committed Dec 17, 2021
1 parent 3c55a84 commit adfd7a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ jobs:
run: |
tox
- name: Upload coverage report
run: |
curl --silent --show-error --output codecov https://ansible-ci-files.s3.us-east-1.amazonaws.com/codecov/linux/codecov
chmod +x codecov
./codecov --file test/coverage/reports/coverage.xml --flags {{ matrix.py_version.tox_env }}
unit:
name: Unit - ${{ matrix.py_version.name}}
Expand Down Expand Up @@ -114,3 +120,6 @@ jobs:

- name: Run tests
run: tox

- name: Upload coverage report
run: codecov --file test/coverage/reports/coverage.xml --flags {{ matrix.py_version.tox_env }}

0 comments on commit adfd7a6

Please sign in to comment.