-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (48 loc) · 1.33 KB
/
Copy pathstem_flutter_sqlite.yaml
File metadata and controls
50 lines (48 loc) · 1.33 KB
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
name: stem_flutter_sqlite
on:
push:
branches:
- master
- main
paths:
- 'packages/stem_flutter_sqlite/**'
- 'packages/stem_flutter/**'
- 'packages/stem_sqlite/**'
- 'packages/stem/**'
- 'pubspec.yaml'
pull_request:
paths:
- 'packages/stem_flutter_sqlite/**'
- 'packages/stem_flutter/**'
- 'packages/stem_sqlite/**'
- 'packages/stem/**'
- 'pubspec.yaml'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y sqlite3 libsqlite3-dev
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: Get Dart packages cache
uses: actions/cache@v4
with:
path: ~/.pub-cache
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.yaml') }}
restore-keys: |
${{ runner.os }}-pub-
- name: Install dependencies
run: flutter pub get
- name: Analyze stem_flutter_sqlite
working-directory: packages/stem_flutter_sqlite
run: flutter analyze
- name: Run stem_flutter_sqlite tests
working-directory: packages/stem_flutter_sqlite
run: flutter test