-
Notifications
You must be signed in to change notification settings - Fork 68
36 lines (33 loc) · 1.08 KB
/
platform_interface_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
name: CI for platform interface package
on:
push:
branches: [ main ]
paths:
- 'flutter_custom_tabs_platform_interface/**'
- '.github/workflows/platform_interface_package.yml'
- '!**.md'
pull_request:
paths:
- 'flutter_custom_tabs_platform_interface/**'
- '.github/workflows/platform_interface_package.yml'
- '!**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Get flutter dependencies
run: flutter pub get
working-directory: ./flutter_custom_tabs_platform_interface
- name: Check for any formatting issues in the code
run: dart format --set-exit-if-changed .
working-directory: ./flutter_custom_tabs_platform_interface
- name: Statically analyze the Dart code for any errors
run: flutter analyze .
working-directory: ./flutter_custom_tabs_platform_interface
- name: Run unit tests
run: flutter test
working-directory: ./flutter_custom_tabs_platform_interface