File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : pub
4
+ schedule :
5
+ interval : weekly
6
+ time : " 17:00"
7
+ timezone : Europe/London
Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : macos-latest
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+
15
+ # Installing Flutter because it's easier to generate .lcov files for test coverage
16
+ - name : Install Flutter
17
+ uses : subosito/flutter-action@v2
18
+ with :
19
+ channel : ' stable'
20
+
21
+ - name : Install dependencies
22
+ run : flutter pub get
23
+
24
+ # Your project will need to have tests in test/ and a dependency on
25
+ # package:test for this step to succeed. Note that Flutter projects will
26
+ # want to change this to 'flutter test'.
27
+ - name : Run tests
28
+ run : flutter test --coverage
29
+
30
+ - uses : codecov/codecov-action@v2
31
+ with :
32
+ files : coverage/lcov.info
33
+ verbose : true # optional (default = false)
You can’t perform that action at this time.
0 commit comments