diff --git a/.github/workflows/format_lint_test.yaml b/.github/workflows/format_lint_test.yaml index 2a820260a..d53b0f003 100644 --- a/.github/workflows/format_lint_test.yaml +++ b/.github/workflows/format_lint_test.yaml @@ -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 diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..ae5cf3b2b --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +ignore: + - "**/*.g.dart" diff --git a/uni/analysis_options.yaml b/uni/analysis_options.yaml index be33d4712..92d895f92 100644 --- a/uni/analysis_options.yaml +++ b/uni/analysis_options.yaml @@ -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 @@ -13,4 +12,3 @@ linter: public_member_api_docs: false avoid_equals_and_hash_code_on_mutable_classes: false one_member_abstracts: false -