Fix versioning. #1184
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 | |
# TODO(polina-c): configure auto-update for diagrams | |
# https://github.com/dart-lang/leak_tracker/issues/104 | |
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@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: install Flutter sdk | |
uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 | |
with: | |
channel: 'master' | |
- name: version | |
run: flutter --version | |
- name: analyze | |
run: sh ./tool/analyze.sh | |
- name: dart test | |
run: dart test | |
working-directory: pkgs/leak_tracker | |
- name: dart test | |
run: dart test | |
working-directory: pkgs/leak_tracker_testing | |
- name: flutter test | |
run: flutter test --enable-vmservice | |
working-directory: pkgs/leak_tracker_flutter_testing | |
- name: integration test | |
run: flutter test integration_test/app_test.dart -d flutter-tester | |
working-directory: examples/autosnapshotting |