Skip to content

Commit

Permalink
modify: change coverage report tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurogoma4D committed Jun 2, 2021
1 parent 6827fa6 commit 7831d66
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Testing

on:
push:
pull_request:
types: [opened, reopened, ready_for_review]

Expand All @@ -25,14 +24,10 @@ jobs:
- name: Testing
run: flutter test --coverage

- name: Generate Coverage Report
uses: danielpalme/[email protected]
- 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 }}

0 comments on commit 7831d66

Please sign in to comment.