Skip to content

Commit

Permalink
ci: add code quality reports
Browse files Browse the repository at this point in the history
  • Loading branch information
falko17 committed Dec 7, 2021
1 parent d63f3db commit 5e4fa48
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,13 @@ test:
reports:
junit:
- report.xml

code_quality:
stage: test
script:
- dart run dart_code_metrics:metrics analyze lib -r gitlab > quality.json
artifacts:
when: always
reports:
codequality:
- quality.json
2 changes: 2 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ environment:
dev_dependencies:
lints: ^1.0.0
test: ^1.16.0
dart_code_metrics: ^4.7.0

0 comments on commit 5e4fa48

Please sign in to comment.