-
Notifications
You must be signed in to change notification settings - Fork 54
42 lines (34 loc) · 803 Bytes
/
test.yaml
File metadata and controls
42 lines (34 loc) · 803 Bytes
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
name: Dart CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Analyze and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1.3
with:
sdk: 3.8.0
- name: Bootstrap
run: |
dart pub global activate melos
dart pub global activate coverage
melos bootstrap
- name: Check formatting
run: melos run format
- name: Generate Code
run: melos run build
- name: Lint
run: melos run analyze
- name: Run Unit tests
run: melos run coverage
- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
files: coverage/lcov.info