-
Notifications
You must be signed in to change notification settings - Fork 68
41 lines (38 loc) · 1.14 KB
/
web_implementation_package.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
name: CI for web implementation package
on:
push:
branches:
- master
- develop
paths:
- 'flutter_custom_tabs_web/**'
pull_request:
paths:
- 'flutter_custom_tabs_web/**'
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- name: Get flutter dependencies
run: flutter pub get
working-directory: ./flutter_custom_tabs_web
- name: Check for any formatting issues in the code
run: dart format --set-exit-if-changed .
working-directory: ./flutter_custom_tabs_web
- name: Statically analyze the Dart code for any errors
run: flutter analyze .
working-directory: ./flutter_custom_tabs_web
# TODO: Consider how to do integration tests on GitHub Actions.
# - uses: nanasess/setup-chromedriver@master
# - name: Start ChromeDriver
# run: chromedriver --port=444
# - name: Run unit tests
# run: ./run_test.sh
# working-directory: ./flutter_custom_tabs_web/example