From abdc669e502e3fdf583cb3e2ffaf500d040cb1d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sviatoslav=20Sydorenko=20=28=D0=A1=D0=B2=D1=8F=D1=82=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B0=D0=B2=20=D0=A1=D0=B8=D0=B4=D0=BE=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE=29?= Date: Sat, 14 Sep 2024 03:11:11 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Pass=20specific=20report=20files?= =?UTF-8?q?=20to=20`codecov-cli`=20(#15520)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The automatic discovery is currently unreliable. Ref: https://github.com/codecov/codecov-cli/issues/500 --- .github/workflows/ci.yml | 4 ++++ Makefile | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f2aeeb845..c8b8c9c344 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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, diff --git a/Makefile b/Makefile index 2284884de9..7ae02197c0 100644 --- a/Makefile +++ b/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: