chore: retry codecov

This commit is contained in:
Lucas.Xu 2023-06-16 09:13:47 +08:00
parent d96a1d8bd4
commit 63eee8b415
3 changed files with 26 additions and 12 deletions

View File

@ -102,6 +102,7 @@ jobs:
git config --system core.longpaths true
flutter config --enable-windows-desktop
fi
dart pub global activate protoc_plugin 20.0.1
shell: bash
- name: Build AppFlowy
@ -119,10 +120,16 @@ jobs:
run: |
cargo make dart_unit_test
- uses: codecov/codecov-action@v3
- name: Upload coverage to Codecov
uses: Wandalen/wretry.action@master
with:
name: appflowy
flags: appflowy_flutter_unit_test
fail_ci_if_error: true
verbose: true
os: ${{ matrix.os }}
action: codecov/codecov-action@v3
with: |
name: appflowy
flags: appflowy_flutter_unit_test
fail_ci_if_error: true
verbose: true
os: ${{ matrix.os }}
attempt_limit: 5
attempt_delay: 10000

View File

@ -92,6 +92,7 @@ jobs:
elif [ "$RUNNER_OS" == "Windows" ]; then
flutter config --enable-windows-desktop
fi
dart pub global activate protoc_plugin 20.0.1
shell: bash
- name: Build Test lib
@ -121,10 +122,15 @@ jobs:
fi
shell: bash
- uses: codecov/codecov-action@v3
- name: Upload coverage to Codecov
uses: Wandalen/wretry.action@master
with:
name: appflowy
flags: appflowy_flutter_integrateion_test
fail_ci_if_error: true
verbose: true
os: ${{ matrix.os }}
action: codecov/codecov-action@v3
with: |
name: appflowy
flags: appflowy_flutter_integrateion_test
fail_ci_if_error: true
verbose: true
os: ${{ matrix.os }}
attempt_limit: 5
attempt_delay: 10000

View File

@ -107,6 +107,7 @@ class _AppFlowyEditorPageState extends State<AppFlowyEditorPage> {
if (widget.scrollController == null) {
effectiveScrollController.dispose();
}
super.dispose();
}