Merge pull request #482 from GetStream/fix/main-action-script

fix: stream_flutter_workflow.yml
This commit is contained in:
Salvatore Giordano
2021-06-18 12:42:55 +02:00
committed by GitHub
4 changed files with 12 additions and 13 deletions
@@ -26,7 +26,6 @@ jobs:
- name: "Install Tools"
run: |
flutter pub global activate melos
flutter pub global activate tuneup
- name: "Bootstrap Workspace"
run: melos bootstrap
- name: "Dart Analyze"
@@ -78,7 +77,7 @@ jobs:
- name: "Flutter Test"
run: melos run test:all
- name: "Collect Coverage"
run: melos run coverage:ignore-file
run: melos run coverage:ignore-file --no-select
- name: "Upload Coverage"
uses: codecov/codecov-action@v1
with:
@@ -103,4 +102,4 @@ jobs:
uses: VeryGoodOpenSource/[email protected]
with:
path: packages/stream_chat_flutter/coverage/lcov.info
min_coverage: 35
min_coverage: 35
+6 -8
View File
@@ -1,12 +1,10 @@
analyzer:
enable-experiment:
- extension-methods
exclude:
- lib/**/*.g.dart
- example/**
- lib/src/emoji
- lib/**/*.freezed.dart
- test/**
- packages/*/lib/**/*.g.dart
- packages/*/example/**
- packages/*/lib/src/emoji
- packages/*/lib/**/*.freezed.dart
- packages/*/test/**
linter:
rules:
@@ -147,4 +145,4 @@ linter:
- cast_nullable_to_non_nullable
- unnecessary_null_checks
- tighten_type_of_initializing_formals
- null_check_on_nullable_type_parameter
- null_check_on_nullable_type_parameter
+4 -2
View File
@@ -64,9 +64,11 @@ scripts:
coverage:ignore-file:
run: |
melos exec -c 4 --fail-fast -- "\$MELOS_ROOT_PATH/.github/workflows/scripts/remove-from_coverage.sh"
melos exec -c 4 --fail-fast -- "\$MELOS_ROOT_PATH/.github/workflows/scripts/remove-from-coverage.sh"
description: Removes all the ignored files from the coverage report.
select-package:
dir-exists: coverage
environment:
sdk: '>=2.12.0 <3.0.0'
flutter: '>=1.22.4 <2.0.0'
flutter: '>=1.22.4 <2.0.0'