mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 04:00:06 -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:
committed by
GitHub
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)
|
toJSON(env.UPSTREAM_REPOSITORY_ID == github.repository_id)
|
||||||
}}
|
}}
|
||||||
|
files: >-
|
||||||
|
${{ steps.make-run.outputs.cov-report-files }}
|
||||||
flags: >-
|
flags: >-
|
||||||
CI-GHA,
|
CI-GHA,
|
||||||
pytest,
|
pytest,
|
||||||
@@ -85,6 +87,8 @@ jobs:
|
|||||||
${{
|
${{
|
||||||
toJSON(env.UPSTREAM_REPOSITORY_ID == github.repository_id)
|
toJSON(env.UPSTREAM_REPOSITORY_ID == github.repository_id)
|
||||||
}}
|
}}
|
||||||
|
files: >-
|
||||||
|
${{ steps.make-run.outputs.test-result-files }}
|
||||||
flags: >-
|
flags: >-
|
||||||
CI-GHA,
|
CI-GHA,
|
||||||
pytest,
|
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"
|
$(MAKE) test PYTEST_ARGS="--create-db --cov=awx --cov-report=xml --junitxml=reports/junit.xml"
|
||||||
@if [ "${GITHUB_ACTIONS}" = "true" ]; \
|
@if [ "${GITHUB_ACTIONS}" = "true" ]; \
|
||||||
then \
|
then \
|
||||||
echo 'cov-report-files=coverage.xml' >> "${GITHUB_OUTPUT}"; \
|
echo 'cov-report-files=reports/coverage.xml' >> "${GITHUB_OUTPUT}"; \
|
||||||
echo 'test-result-files=reports/junit.xml' >> "${GITHUB_OUTPUT}"; \
|
echo 'test-result-files=awxkit/report.xml,reports/junit.xml' >> "${GITHUB_OUTPUT}"; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test_migrations:
|
test_migrations:
|
||||||
|
|||||||
Reference in New Issue
Block a user