diff --git a/Makefile b/Makefile index 252b3c6982a2..60aae0395cb0 100644 --- a/Makefile +++ b/Makefile @@ -361,7 +361,7 @@ test_coverage: $(MAKE) test PYTEST_ARGS="--create-db --cov --cov-report=xml --junitxml=reports/junit.xml" @if [ "${GITHUB_ACTIONS}" = "true" ]; \ then \ - echo 'cov-report-files=reports/coverage.xml' >> "${GITHUB_OUTPUT}"; \ + echo 'cov-report-files=awxkit/coverage.xml,reports/coverage.xml' >> "${GITHUB_OUTPUT}"; \ echo 'test-result-files=awxkit/report.xml,reports/junit.xml' >> "${GITHUB_OUTPUT}"; \ fi diff --git a/awxkit/tox.ini b/awxkit/tox.ini index e5855d500ec2..132f72099b4f 100644 --- a/awxkit/tox.ini +++ b/awxkit/tox.ini @@ -18,7 +18,10 @@ deps = pytest pytest-mock -commands = coverage run --parallel --source awxkit -m pytest --doctest-glob='*.md' --junit-xml=report.xml {posargs} +commands = + coverage run --parallel --source awxkit -m pytest --doctest-glob='*.md' --junit-xml=report.xml {posargs} + coverage combine + coverage xml [testenv:lint] deps =