Improve code structure. #623
Workflow file for this run
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
name: CI | |
on: | |
schedule: | |
# “At 00:00 (UTC) on Sunday.” | |
- cron: '0 0 * * 0' | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clone the repo | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
- name: install Flutter sdk | |
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa | |
with: | |
channel: 'master' | |
- name: version | |
run: flutter --version | |
- name: analyze | |
run: sh ./tool/analyze.sh | |
- name: dart release test | |
run: dart test test/release | |
working-directory: pkgs/leak_tracker | |
- name: dart debug test | |
run: dart test test/debug --debug | |
working-directory: pkgs/leak_tracker | |
- name: flutter test | |
run: flutter test | |
working-directory: pkgs/leak_tracker_flutter_test | |
- name: integration test | |
run: flutter test integration_test/app_test.dart -d flutter-tester | |
working-directory: examples/autosnapshotting |