Skip to content

Commit e10b49f

Browse files
authored
Update ci.yml
1 parent 7b4f767 commit e10b49f

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ jobs:
2222
- run: flutter pub get
2323
- run: flutter analyze
2424
- run: flutter test --coverage
25-
- uses: codecov/codecov-action@v1
26-
with:
27-
token: ${{ secrets.CODECOV_TOKEN }}
28-
file: coverage/lcov.info
2925

3026
build_android_apk:
3127
name: Build Flutter (Anroid APK)
@@ -68,6 +64,16 @@ jobs:
6864
with:
6965
name: release-appbundle
7066
path: build/app/outputs/bundle/release/app-release.aab
67+
68+
deploy_to_codecov:
69+
name: Deploy coverage to Codecov
70+
needs: [flutter_test]
71+
runs-on: ubuntu-latest
72+
steps:
73+
- uses: codecov/codecov-action@v1
74+
with:
75+
token: ${{ secrets.CODECOV_TOKEN }}
76+
file: coverage/lcov.info
7177

7278
# build_ios:
7379
# name: Build Flutter (iOS)

0 commit comments

Comments
 (0)