Skip to content

Commit

Permalink
Merge pull request #2 from cb-cloud/feature/fix_ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
Kurogoma4D authored Jun 2, 2021
2 parents 6827fa6 + 7831d66 commit f2aa1c7
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 f2aa1c7

Please sign in to comment.