File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 7
7
workflow_call :
8
8
9
9
concurrency :
10
- group : ${{ github.head_ref }}
10
+ group : ${{ github.head_ref || github.run_id }}
11
11
cancel-in-progress : true
12
12
13
13
jobs :
@@ -93,11 +93,19 @@ jobs:
93
93
run : flutter pub run build_runner build
94
94
- name : Run analyzer
95
95
run : flutter analyze
96
+ - name : Install coverage tools
97
+ run : flutter pub global activate coverage
96
98
- name : Run tests
97
99
run : flutter test
98
100
- name : Run integration tests
99
101
if : ${{ steps.extract_branch.outputs.branch == 'dev' }}
100
- run : flutter test integration_test -d macos
102
+ run : flutter test integration_test --coverage -d macos
103
+ - name : Upload Coverage to CodeCov
104
+ if : ${{ steps.extract_branch.outputs.branch == 'dev' }}
105
+ uses : codecov/codecov-action@v3
106
+ with :
107
+ token : ${{secrets.CODECOV_TOKEN}}
108
+ file : coverage/lcov.info
101
109
102
110
android-linux-build :
103
111
name : ' Build Android + Linux'
You can’t perform that action at this time.
0 commit comments