This repository has been archived by the owner on Feb 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
67 lines (55 loc) · 1.78 KB
/
very_good_wear_app.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: very_good_wear_app
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
paths:
- .github/workflows/very_good_wear_app.yaml
- "brick/**"
branches:
- main
pull_request:
paths:
- .github/workflows/very_good_wear_app.yaml
- "brick/**"
branches:
- main
jobs:
brick:
runs-on: ubuntu-latest
strategy:
matrix:
flutter-version:
# The version of Flutter to use should use the minimum Dart SDK version supported by the package,
# refer to https://docs.flutter.dev/development/tools/sdk/releases.
- "3.13.0"
- "any"
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter-version }}
- name: 🧱 Mason Make
run: |
dart pub global activate mason_cli
mason get
mason make very_good_wear_app -c brick/config.json -o output --on-conflict overwrite
- name: 📦 Install Dependencies
run: |
dart pub global activate very_good_cli
very_good packages get --recursive output/test_app
- name: ✨ Check Formatting
run: dart format --set-exit-if-changed output/test_app
- name: 🕵️ Analyze
run: dart analyze --fatal-infos --fatal-warnings output/test_app
- name: 🧪 Run Tests
run: |
cd output/test_app
very_good test -j 4 --recursive --optimization --coverage --test-randomize-ordering-seed random
- name: 📊 Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: output/test_app/coverage/lcov.info