From 118fd52129d9b0ee9acab5a1ceb281e6f3f94f06 Mon Sep 17 00:00:00 2001
From: Pavel Vetokhin
Date: Mon, 11 Sep 2023 21:29:12 +0300
Subject: [PATCH] Remove coverage action
---
.github/workflows/solution-convincing.yml | 39 ++++-------------------
.github/workflows/solution-sanity.yml | 9 ------
2 files changed, 6 insertions(+), 42 deletions(-)
diff --git a/.github/workflows/solution-convincing.yml b/.github/workflows/solution-convincing.yml
index 19cbbcf0..47241980 100644
--- a/.github/workflows/solution-convincing.yml
+++ b/.github/workflows/solution-convincing.yml
@@ -41,7 +41,6 @@ jobs:
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # units reporting
- uses: EnricoMi/publish-unit-test-result-action@v2.9.0
if: ${{ !cancelled() }}
with:
@@ -55,22 +54,6 @@ jobs:
files: |
libs/*/target/surefire-reports/TEST-*.xml
apps/*/target/surefire-reports/TEST-*.xml
- - uses: madrapps/jacoco-report@v1.6.1
- if: ${{ github.event_name == 'pull_request' && hashFiles(env.JACOCO_UNITS) != '' }}
- with:
- title: Unit Coverage Report
- paths: ${{ env.JACOCO_UNITS }}
- token: ${{ secrets.GITHUB_TOKEN }}
- update-comment: true
- env:
- JACOCO_UNITS: .tools/target/coverage/units/jacoco.xml
- - uses: actions/upload-artifact@v3.1.3
- if: ${{ !cancelled() }}
- with:
- name: units-coverage-report
- path: .tools/target/coverage/units
- if-no-files-found: ignore
- # integrations reporting
- uses: EnricoMi/publish-unit-test-result-action@v2.9.0
if: ${{ !cancelled() }}
with:
@@ -84,22 +67,6 @@ jobs:
files: |
libs/*/target/failsafe-reports/TEST-*.xml
apps/*/target/failsafe-reports/TEST-*.xml
- - uses: madrapps/jacoco-report@v1.6.1
- if: ${{ github.event_name == 'pull_request' && hashFiles(env.JACOCO_INTEGRATIONS) != '' }}
- with:
- title: Integration Coverage Report
- paths: ${{ env.JACOCO_INTEGRATIONS }}
- token: ${{ secrets.GITHUB_TOKEN }}
- update-comment: true
- env:
- JACOCO_INTEGRATIONS: .tools/target/coverage/integrations/jacoco.xml
- - uses: actions/upload-artifact@v3.1.3
- if: ${{ !cancelled() }}
- with:
- name: integrations-coverage-report
- path: .tools/target/coverage/integrations
- if-no-files-found: ignore
- # fake e2e reporting
- name: Always empty E2E test report. See https://github.com/orgs/community/discussions/13690
uses: EnricoMi/publish-unit-test-result-action@v2.9.0
if: ${{ !cancelled() }}
@@ -112,3 +79,9 @@ jobs:
job_summary: false
comment_mode: off
files: tests/*/target/surefire-reports/TEST-*.xml
+ - uses: actions/upload-artifact@v3.1.3
+ if: ${{ !cancelled() }}
+ with:
+ name: test-coverage-report
+ path: .tools/target/coverage
+ if-no-files-found: ignore
diff --git a/.github/workflows/solution-sanity.yml b/.github/workflows/solution-sanity.yml
index 86bc7c07..d2ce0715 100644
--- a/.github/workflows/solution-sanity.yml
+++ b/.github/workflows/solution-sanity.yml
@@ -48,12 +48,3 @@ jobs:
files: |
libs/*/target/surefire-reports/TEST-*.xml
apps/*/target/surefire-reports/TEST-*.xml
- - uses: madrapps/jacoco-report@v1.6.1
- if: ${{ github.event_name == 'pull_request' && hashFiles(env.JACOCO_UNITS) != '' }}
- with:
- title: Unit Coverage Report
- paths: ${{ env.JACOCO_UNITS }}
- token: ${{ secrets.GITHUB_TOKEN }}
- update-comment: true
- env:
- JACOCO_UNITS: .tools/target/coverage/units/jacoco.xml