Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/flutter_build_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
pull_request:
push:
branches:
- main
- '**'

jobs:
build_android:
name: Build example for Android
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v7
Expand All @@ -35,6 +35,7 @@ jobs:
run: flutter pub get

- name: Flutter build appbundle
timeout-minutes: 10
run: |
cd example
flutter build appbundle --release
17 changes: 11 additions & 6 deletions .github/workflows/flutter_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
pull_request:
push:
branches:
- main
- '**'

jobs:
check_pub_dependencies:
name: Check dependencies
timeout-minutes: 10
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -26,12 +26,13 @@ jobs:
run: flutter config --no-analytics

- name: Flutter pub get
timeout-minutes: 10
run: flutter pub get

check_formatting:
name: Check formatting
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v7
Expand All @@ -49,11 +50,12 @@ jobs:
run: flutter pub get

- name: Check Dart formatting
timeout-minutes: 10
run: dart format --set-exit-if-changed .

analyze:
name: Dart analyze
timeout-minutes: 10
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -72,12 +74,13 @@ jobs:
run: flutter pub get

- name: Run Dart analyze
timeout-minutes: 10
run: dart analyze --fatal-infos

test:
name: Flutter test
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v7
Expand All @@ -95,12 +98,13 @@ jobs:
run: flutter pub get

- name: Flutter test
timeout-minutes: 10
run: flutter test

test_example:
name: Flutter test example
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v7
Expand All @@ -120,6 +124,7 @@ jobs:
flutter pub get

- name: Flutter test example
timeout-minutes: 10
run: |
cd example
flutter test
32 changes: 27 additions & 5 deletions .github/workflows/integration_tests_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,35 @@ name: Integration Tests (Android)
on:
workflow_dispatch:
pull_request:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.github/dependabot.yml'
- '.github/workflows/flutter_build_example.yml'
- '.github/workflows/flutter_checks.yml'
- '.github/workflows/pub_publish.yml'
- '.github/workflows/pub_publish_dry_run.yml'
- '.github/workflows/pub_score.yml'
- 'analysis_options.yaml'
- 'test/**'
- 'example/analysis_options.yaml'
- 'example/test/**'
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
- '**'
paths-ignore:
- '**.md'
- 'LICENSE'
- '.github/dependabot.yml'
- '.github/workflows/flutter_build_example.yml'
- '.github/workflows/flutter_checks.yml'
- '.github/workflows/pub_publish.yml'
- '.github/workflows/pub_publish_dry_run.yml'
- '.github/workflows/pub_score.yml'
- 'analysis_options.yaml'
- 'test/**'
- 'example/analysis_options.yaml'
- 'example/test/**'

Comment thread
nohli marked this conversation as resolved.
jobs:
integration_test:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pub_publish_dry_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Pub publish dry run

on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- '**'

jobs:
publish-dry-run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pub_score.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:
push:
branches:
- main
- '**'

jobs:
check-score:
Expand Down
Loading