From 61ca77d638cf3d987628d6c877657895f097bf84 Mon Sep 17 00:00:00 2001 From: jainadc9 <93383550+jainadc9@users.noreply.github.com> Date: Tue, 1 Apr 2025 15:41:06 +0530 Subject: [PATCH 1/2] Update main.yml --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eeebe51e..eeab8d22 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -110,7 +110,8 @@ jobs: fuser -k ${EI_BACKEND_PORT}/tcp reportCoverage: - if: github.repository == 'eiffel-community/eiffel-intelligence-frontend' && github.event_name == 'push' + if: github.repository == 'eiffel-community/eiffel-intelligence-frontend' + # && github.event_name == 'push' # The type of runner that the job will run on runs-on: ubuntu-latest @@ -142,7 +143,7 @@ jobs: - name: Run jacoco report shell: bash run: | - mvn jacoco:prepare-agent test jacoco:report -B + mvn -U -V -B clean test jacoco:report -Dformats=xml # Generating test coverage report and publishing to Codacy - name: Run report coverage From cbccf513d8c3687d1397028863dffde33907c5c7 Mon Sep 17 00:00:00 2001 From: jainadc9 <93383550+jainadc9@users.noreply.github.com> Date: Tue, 1 Apr 2025 15:53:00 +0530 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eeab8d22..0a157741 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -110,8 +110,7 @@ jobs: fuser -k ${EI_BACKEND_PORT}/tcp reportCoverage: - if: github.repository == 'eiffel-community/eiffel-intelligence-frontend' - # && github.event_name == 'push' + if: github.repository == 'eiffel-community/eiffel-intelligence-frontend' && github.event_name == 'push' # The type of runner that the job will run on runs-on: ubuntu-latest