-
-
Notifications
You must be signed in to change notification settings - Fork 7
38 lines (29 loc) · 931 Bytes
/
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
name: Flutter
on:
push:
branches: ["main"]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.24.0"
channel: "stable"
- name: Get dependencies
run: flutter pub get
- name: Get dependencies for dji_waypoint_engine
working-directory: ./packages/dji_waypoint_engine
run: dart pub get
- name: Get dependencies for litchi_waypoint_engine
working-directory: ./packages/litchi_waypoint_engine
run: dart pub get
- name: Analyze project source
run: flutter analyze
- name: Test dji_waypoint_engine
working-directory: ./packages/dji_waypoint_engine
run: dart test
- name: test litchi_waypoint_engine
working-directory: ./packages/litchi_waypoint_engine
run: dart test