-
Notifications
You must be signed in to change notification settings - Fork 51
46 lines (36 loc) · 942 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Build
on:
pull_request:
paths-ignore:
- "**.md"
push:
branches:
- main
paths-ignore:
- "**.md"
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1.5.0
- uses: subosito/flutter-action@v2.10.0
with:
channel: "stable"
- name: Install melos
run: dart pub global activate melos
- name: Install dependencies
run: melos exec --no-private flutter pub get
- name: Analyze packages
run: melos run analyze
- name: Test packages
run: melos run test
- name: Combine coverage
run: melos run combine_coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./lcov.info