generated from Stacked-Org/package-template
-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (30 loc) · 858 Bytes
/
test.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
name: Test Package
on:
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
lint_and_test:
name: Linting and Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- run: dart format --fix --set-exit-if-changed .
# - run: flutter analyze
# - run: flutter test --coverage
# - name: Setup LCOV
# uses: hrishikesh-kadam/setup-lcov@v1
# - name: Report code coverage
# uses: zgosalvez/github-actions-report-lcov@v3
# with:
# coverage-files: coverage/lcov*.info
# artifact-name: code-coverage-report
# github-token: ${{ secrets.GITHUB_TOKEN }}
# update-comment: true