Skip to content

Commit

Permalink
Add ignore yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bdmendes committed Aug 1, 2023
1 parent 1066db9 commit 5e3295d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/format_lint_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ jobs:
flutter-version: ${{ env.FLUTTER_VERSION }}

- name: Test with coverage
run: flutter test --coverage --coverage=./coverage
run: flutter test --coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./coverage/lcov.info
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignore:
- "**/*.g.dart"
4 changes: 1 addition & 3 deletions uni/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ include: package:very_good_analysis/analysis_options.yaml
analyzer:
# Exclude auto-generated files from dart analysis
exclude:
- '**.g.dart'
- '**.freezed.dart'
- "**.g.dart"

# Custom linter rules. A list of all rules can be found at
# https://dart-lang.github.io/linter/lints/options/options.html
Expand All @@ -13,4 +12,3 @@ linter:
public_member_api_docs: false
avoid_equals_and_hash_code_on_mutable_classes: false
one_member_abstracts: false

0 comments on commit 5e3295d

Please sign in to comment.