Skip to content

Commit

Permalink
[#242] Add danger
Browse files Browse the repository at this point in the history
  • Loading branch information
doannimble committed Nov 13, 2023
1 parent 8f16547 commit 48c8616
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
- name: Statically analyze the Dart code for any errors
run: flutter analyze .

- name: Run danger ci
run: danger_dart ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run widget tests, unit tests
run: flutter test --machine --coverage

Expand Down
5 changes: 5 additions & 0 deletions bricks/template/__brick__/.github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
- name: Statically analyze the Dart code for any errors
run: flutter analyze .

- name: Run danger ci
run: danger_dart ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run widget tests, unit tests
run: flutter test --machine --coverage

Expand Down
1 change: 1 addition & 0 deletions bricks/template/__brick__/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ dev_dependencies:
json_serializable: ^6.6.2
mockito: ^5.4.0
retrofit_generator: ^7.0.0
danger_core:

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down

0 comments on commit 48c8616

Please sign in to comment.