forked from timur-harin/Sum24FlutterCourse
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (24 loc) · 774 Bytes
/
test.yaml
File metadata and controls
35 lines (24 loc) · 774 Bytes
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
name: Build Web
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.22.2
- run: flutter pub get
- run: flutter test test/test.dart
- run: flutter analyze --no-fatal-warnings --no-fatal-infos lib/livecoding/cicd/
- run: flutter build web --release lib/livecoding/cicd/main.dart
- uses: bluefireteam/flutter-gh-pages@v7
with:
customArgs: "lib/livecoding/cicd/main.dart"