Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bfe99c4

Browse files
Merge remote-tracking branch 'upstream/main' into enhancement/platform-android
2 parents d2b8639 + 7bcf1cd commit bfe99c4

File tree

3 files changed

+118
-2
lines changed

3 files changed

+118
-2
lines changed

‎.github/workflows/google_api_availability.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ name: google_api_availability
77
on:
88
push:
99
branches: [ main ]
10+
paths:
11+
- 'google_api_availability/**'
1012
pull_request:
1113
branches: [ main ]
14+
paths:
15+
- 'google_api_availability/**'
1216

1317
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1418
jobs:
@@ -17,8 +21,8 @@ jobs:
1721
# The type of runner that the job will run on
1822
runs-on: macos-latest
1923
env:
20-
source-directory: ./
21-
example-directory: ./example
24+
source-directory: ./google_api_availability
25+
example-directory: ./google_api_availability/example
2226

2327
# Steps represent a sequence of tasks that will be executed as part of the job
2428
steps:
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# This is a basic workflow to help you get started with Actions
2+
name: google_api_availability_android
3+
4+
# Controls when the action will run. Triggers the workflow on push or pull request
5+
# events but only for the main branch
6+
on:
7+
push:
8+
branches: [ main ]
9+
paths:
10+
- 'google_api_availability_android/**'
11+
pull_request:
12+
branches: [ main ]
13+
paths:
14+
- 'google_api_availability_android/**'
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
ci:
19+
name: Android platform package
20+
21+
# The type of runner that the job will run on
22+
runs-on: ubuntu-latest
23+
24+
env:
25+
source-directory: ./google_api_availability_android
26+
example-directory: ./google_api_availability_android/example
27+
28+
# Steps represent a sequence of tasks that will be executed as part of the job
29+
steps:
30+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
31+
- uses: actions/checkout@v3
32+
33+
# Make sure the stable version of Flutter is available
34+
- uses: subosito/flutter-action@v2
35+
with:
36+
channel: 'stable'
37+
38+
# Download all Flutter packages
39+
- name: Download dependencies
40+
run: flutter pub get
41+
working-directory: ${{env.source-directory}}
42+
43+
# Run Flutter Format to ensure formatting is valid
44+
- name: Run Flutter Format
45+
run: flutter format --set-exit-if-changed .
46+
working-directory: ${{env.source-directory}}
47+
48+
# Run Flutter Analyzer
49+
- name: Run Flutter Analyzer
50+
run: flutter analyze
51+
working-directory: ${{env.source-directory}}
52+
53+
# Build Android version of the example App
54+
- name: Run Android build
55+
run: flutter build apk --release
56+
working-directory: ${{env.example-directory}}
57+
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# This is a basic workflow to help you get started with Actions
2+
name: google_api_availability_platform_interface
3+
4+
# Controls when the action will run. Triggers the workflow on push or pull request
5+
# events but only for the main branch
6+
on:
7+
push:
8+
branches: [ main ]
9+
paths:
10+
- 'google_api_availability_platform_interface/**'
11+
pull_request:
12+
branches: [ main ]
13+
paths:
14+
- 'google_api_availability_platform_interface/**'
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
build:
19+
name: Format
20+
21+
# The type of runner that the job will run on
22+
runs-on: ubuntu-latest
23+
24+
env:
25+
source-directory: ./google_api_availability_platform_interface
26+
27+
# Steps represent a sequence of tasks that will be executed as part of the job
28+
steps:
29+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
30+
- uses: actions/checkout@v3
31+
32+
# Make sure the stable version of Flutter is available
33+
- uses: subosito/flutter-action@v2
34+
with:
35+
channel: 'stable'
36+
37+
# Download all Flutter packages
38+
- name: Download dependencies
39+
run: flutter pub get
40+
working-directory: ${{env.source-directory}}
41+
42+
# Run Flutter Format to ensure formatting is valid
43+
- name: Run Flutter Format
44+
run: flutter format --set-exit-if-changed .
45+
working-directory: ${{env.source-directory}}
46+
47+
# Run Flutter Analyzer
48+
- name: Run Flutter Analyzer
49+
run: flutter analyze
50+
working-directory: ${{env.source-directory}}
51+
52+
# Run all unit-tests with code coverage
53+
- name: Run unit tests
54+
run: flutter test --coverage
55+
working-directory: ${{env.source-directory}}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /