From fa22c63ac1ff681d30e68c661421ffe2b2daccaf Mon Sep 17 00:00:00 2001
From: "Lucas.Xu"
Date: Fri, 2 Sep 2022 16:58:05 +0800
Subject: [PATCH] feat: support codecov (#970)
* feat: support codecov
---
.github/workflows/flowy_editor_test.yml | 10 +++++++++-
frontend/app_flowy/packages/appflowy_editor/README.md | 6 ++++++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/flowy_editor_test.yml b/.github/workflows/flowy_editor_test.yml
index 1459a47518..4c957f5c95 100644
--- a/.github/workflows/flowy_editor_test.yml
+++ b/.github/workflows/flowy_editor_test.yml
@@ -37,4 +37,12 @@ jobs:
working-directory: frontend/app_flowy/packages/appflowy_editor
run: |
flutter pub get
- flutter test
+ flutter test --coverage
+
+ - uses: codecov/codecov-action@v3
+ with:
+ name: appflowy_editor
+ env_vars: ${{ matrix.os }}
+ fail_ci_if_error: true
+ verbose: true
+
diff --git a/frontend/app_flowy/packages/appflowy_editor/README.md b/frontend/app_flowy/packages/appflowy_editor/README.md
index 1ccbf55878..9f26c075fd 100644
--- a/frontend/app_flowy/packages/appflowy_editor/README.md
+++ b/frontend/app_flowy/packages/appflowy_editor/README.md
@@ -20,6 +20,12 @@ and the Flutter guide for
Twitter
+
+
+
+
+
+