-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 1.11 KB
/
main.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
name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Quality Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v1
- name: Format, Lint, Publishability
run: melos run lint:all
- name: Run Tests
run: melos run test:coverage:all
- name: Archive Golden failures
if: failure()
uses: actions/upload-artifact@v3
with:
name: Golden failures
retention-days: 2
path: |
**/test/**/failures/**/*.*
- name: Zweidenker Heinzelmen Coverage
uses: VeryGoodOpenSource/very_good_coverage@v1
with:
exclude: '**/*_mixin.dart'
path: ./packages/zweidenker_heinzelmen/coverage/lcov.info
- name: ApptiveGrid Heinzelmen Coverage
uses: VeryGoodOpenSource/very_good_coverage@v1
with:
path: ./packages/apptive_grid_heinzelmen/coverage/lcov.info