mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
🧪 Pass specific report files to codecov-cli (#15520)
The automatic discovery is currently unreliable. Ref: https://github.com/codecov/codecov-cli/issues/500
This commit is contained in:
parent
3baea0f206
commit
abdc669e50
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -67,6 +67,8 @@ jobs:
|
||||
${{
|
||||
toJSON(env.UPSTREAM_REPOSITORY_ID == github.repository_id)
|
||||
}}
|
||||
files: >-
|
||||
${{ steps.make-run.outputs.cov-report-files }}
|
||||
flags: >-
|
||||
CI-GHA,
|
||||
pytest,
|
||||
@ -85,6 +87,8 @@ jobs:
|
||||
${{
|
||||
toJSON(env.UPSTREAM_REPOSITORY_ID == github.repository_id)
|
||||
}}
|
||||
files: >-
|
||||
${{ steps.make-run.outputs.test-result-files }}
|
||||
flags: >-
|
||||
CI-GHA,
|
||||
pytest,
|
||||
|
||||
4
Makefile
4
Makefile
@ -356,8 +356,8 @@ test_coverage:
|
||||
$(MAKE) test PYTEST_ARGS="--create-db --cov=awx --cov-report=xml --junitxml=reports/junit.xml"
|
||||
@if [ "${GITHUB_ACTIONS}" = "true" ]; \
|
||||
then \
|
||||
echo 'cov-report-files=coverage.xml' >> "${GITHUB_OUTPUT}"; \
|
||||
echo 'test-result-files=reports/junit.xml' >> "${GITHUB_OUTPUT}"; \
|
||||
echo 'cov-report-files=reports/coverage.xml' >> "${GITHUB_OUTPUT}"; \
|
||||
echo 'test-result-files=awxkit/report.xml,reports/junit.xml' >> "${GITHUB_OUTPUT}"; \
|
||||
fi
|
||||
|
||||
test_migrations:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user