Use GitHub Action for code coverage reporting.

This commit is contained in:
Jeff Geerling
2020-03-05 08:58:53 -06:00
parent f7b951c475
commit f5c9dcdd29
2 changed files with 6 additions and 36 deletions

View File

@@ -54,8 +54,12 @@ jobs:
- name: Run integration tests on Python ${{ matrix.python_version }}
run: ansible-test integration --docker -v --color --retry-on-error --python ${{ matrix.python_version }} --continue-on-error --diff --coverage
- name: Upload coverage data
run: tests/coverage.sh
- name: Generate coverage report.
run: ansible-test coverage xml -v --requirements --group-by command --group-by version
- uses: codecov/codecov-action@v1
with:
fail_ci_if_error: false
molecule:
runs-on: ubuntu-latest