Skip to content

Commit

Permalink
chore: retry codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Jun 16, 2023
1 parent d96a1d8 commit 5b86d82
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 12 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/flutter_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

18 changes: 12 additions & 6 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class _AppFlowyEditorPageState extends State<AppFlowyEditorPage> {
if (widget.scrollController == null) {
effectiveScrollController.dispose();
}

super.dispose();
}

Expand Down

0 comments on commit 5b86d82

Please sign in to comment.