From 7831d66e7ef8122df1c9b540a13693030e33afe8 Mon Sep 17 00:00:00 2001 From: Kurogoma4D Date: Wed, 2 Jun 2021 19:42:40 +0900 Subject: [PATCH] modify: change coverage report tool --- .github/workflows/ci.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cee80ad..36ca361 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,7 +1,6 @@ name: Testing on: - push: pull_request: types: [opened, reopened, ready_for_review] @@ -25,14 +24,10 @@ jobs: - name: Testing run: flutter test --coverage - - name: Generate Coverage Report - uses: danielpalme/ReportGenerator-GitHub-Action@4.8.9 + - name: Report code coverage + uses: zgosalvez/github-actions-report-lcov@v1 with: - reports: 'coverage/lcov.info' - targetdir: 'coverage_report' - - - name: Upload Coverage Report - uses: actions/upload-artifact@v2 - with: - name: coverage_report - path: coverage_report + coverage-files: coverage/lcov.info + minimum-coverage: 50 + artifact-name: code_coverage_report + github-token: ${{ secrets.GITHUB_TOKEN }}