Skip to content

Commit

Permalink
ci(flutter): add dart-code-metrics step
Browse files Browse the repository at this point in the history
  • Loading branch information
albertms10 committed Sep 25, 2021
1 parent 9159fe3 commit 369e11f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
analyze-and-test:
name: Analyze and test
runs-on: ubuntu-latest
timeout-minutes: 3
timeout-minutes: 4
if: ${{ github.event.pull_request.draft == false }}

steps:
Expand All @@ -26,7 +26,13 @@ jobs:
- run: flutter format --set-exit-if-changed .
- run: flutter analyze --fatal-infos
- run: flutter test --coverage
- name: Coveralls GitHub Action

- name: Run dart-code-metrics
uses: dart-code-checker/dart-code-metrics-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Run Coveralls
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 369e11f

Please sign in to comment.