Skip to content

Commit ecb312c

Browse files
ci: Add build linux example
1 parent cd08048 commit ecb312c

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/base.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ jobs:
3939
- name: Analyze static code
4040
run: flutter analyze
4141
- name: Run tests
42-
run: flutter test
42+
run: flutter test --coverage
43+
- name: Upload coverage to Codecov
44+
if: ${{ matrix.channel == 'stable' }}
45+
uses: codecov/codecov-action@v3
46+
with:
47+
files: coverage/lcov.info
48+
name: flutter_form_builder
4349
- name: Check publish warnings
4450
run: dart pub publish --dry-run
4551
- name: Build example
@@ -48,14 +54,7 @@ jobs:
4854
flutter build appbundle --debug
4955
flutter build ios --debug --no-codesign
5056
flutter build web
51-
52-
- name: Upload coverage to Codecov
53-
if: ${{ matrix.channel == 'stable' }}
54-
uses: codecov/codecov-action@v3
55-
with:
56-
files: coverage/lcov.info
57-
flags: unittests
58-
name: flutter_form_builder
57+
flutter build linux
5958
6059
deployment:
6160
if: ${{ github.ref_type == 'tag' }}

0 commit comments

Comments
 (0)