-
Notifications
You must be signed in to change notification settings - Fork 30
45 lines (32 loc) · 1.01 KB
/
dart.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
name: Dart || Tests | Formatting | Analyzer
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
name: CI
runs-on: ubuntu-latest
container:
image: ghcr.io/cirruslabs/flutter:3.19.4
steps:
- uses: actions/checkout@v4
- name: Changing channels so we have access to NNBD
run: bash tool/flutter_beta.sh
- name: Removing CI/CD unnecessary folders
run: bash tool/delete_noncicd_dirs.sh
- name: Adding the Flutter dependency only for CI
run: bash tool/append_flutter.sh
- name: Install dependencies
run: flutter pub get
- name: Static Analysis (also installs inner packages' dependencies)
run: bash tool/static_analysis.sh
- name: Run tests
run: flutter test --coverage --coverage-path=lcov.info
- name: Run json_serializable e2e tests
run: bash tool/test_json_serializable_codegen.sh
- name: Upload Results to Codecov.io
run: bash tool/codecov.sh