fix stream_flutter_workflow.yml
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -26,7 +26,6 @@ jobs:
|
|||||||
- name: "Install Tools"
|
- name: "Install Tools"
|
||||||
run: |
|
run: |
|
||||||
flutter pub global activate melos
|
flutter pub global activate melos
|
||||||
flutter pub global activate tuneup
|
|
||||||
- name: "Bootstrap Workspace"
|
- name: "Bootstrap Workspace"
|
||||||
run: melos bootstrap
|
run: melos bootstrap
|
||||||
- name: "Dart Analyze"
|
- name: "Dart Analyze"
|
||||||
@@ -78,7 +77,7 @@ jobs:
|
|||||||
- name: "Flutter Test"
|
- name: "Flutter Test"
|
||||||
run: melos run test:all
|
run: melos run test:all
|
||||||
- name: "Collect Coverage"
|
- name: "Collect Coverage"
|
||||||
run: melos run coverage:ignore-file
|
run: melos run coverage:ignore-file --no-select
|
||||||
- name: "Upload Coverage"
|
- name: "Upload Coverage"
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
analyzer:
|
analyzer:
|
||||||
enable-experiment:
|
|
||||||
- extension-methods
|
|
||||||
exclude:
|
exclude:
|
||||||
- lib/**/*.g.dart
|
- packages/*/lib/**/*.g.dart
|
||||||
- example/**
|
- packages/*/example/**
|
||||||
- lib/src/emoji
|
- packages/*/lib/src/emoji
|
||||||
- lib/**/*.freezed.dart
|
- packages/*/lib/**/*.freezed.dart
|
||||||
- test/**
|
- packages/*/test/**
|
||||||
|
|
||||||
linter:
|
linter:
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
+3
-1
@@ -64,8 +64,10 @@ scripts:
|
|||||||
|
|
||||||
coverage:ignore-file:
|
coverage:ignore-file:
|
||||||
run: |
|
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.
|
description: Removes all the ignored files from the coverage report.
|
||||||
|
select-package:
|
||||||
|
dir-exists: coverage
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.12.0 <3.0.0'
|
sdk: '>=2.12.0 <3.0.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user