From 62ad9efeacfee397ed1e1a5c4b5fbf3b123470a6 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 15 Apr 2024 11:04:22 +0200 Subject: [PATCH] Change reporting action --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89823ab..44a54f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,12 +14,14 @@ jobs: - name: Run tests run: make test - name: Report - uses: 5monkeys/cobertura-action@master + uses: insightsengineering/coverage-action@v2 with: path: coverage.xml - minimum_coverage: 90 - skip_covered: false - fail_below_threshold: true + token: ${{ secrets.GITHUB_TOKEN }} + threshold: 90 + fail: true + publish: true + coverage-summary-title: "Code Coverage Summary" check: runs-on: ubuntu-20.04