This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
opensource@muenchen.de #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
#taken from: https://github.com/marketplace/actions/flutter-action | |
#and: https://github.com/fleaflet/flutter_map/blob/master/.github/workflows/flutter.yml | |
name: Example App CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
name: "Analyze and test Example app" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
- run: flutter pub get | |
working-directory: ./example | |
- run: dart format --output=none --set-exit-if-changed . | |
working-directory: ./example | |
- run: dart analyze --fatal-infos --fatal-warnings | |
working-directory: ./example | |
- run: flutter test -r expanded | |
working-directory: ./example |