From fadce31d16fced8717777f1af6e8fca56aa608eb Mon Sep 17 00:00:00 2001 From: waseemR02 Date: Wed, 28 Feb 2024 16:12:35 +0530 Subject: [PATCH] Upload coverage results to codacy Signed-off-by: waseemR02 --- .github/workflows/seiri_test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/seiri_test.yml b/.github/workflows/seiri_test.yml index f9f311e..cc40311 100644 --- a/.github/workflows/seiri_test.yml +++ b/.github/workflows/seiri_test.yml @@ -52,12 +52,12 @@ jobs: steps: - name: Checkout this repository uses: actions/checkout@v4 - + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: python-version: "3.12" - + - name: Download coverage files uses: actions/download-artifact@v3 with: @@ -73,10 +73,11 @@ jobs: run: | pip install coverage coverage combine coverage + coverage xml coverage report - + - name: Push Coverage results uses: codacy/codacy-coverage-reporter-action@v1 with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} - coverage-reports: coverage + coverage-reports: coverage.xml