Add support for Dart-side group()
s
#1504
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: patrol_cli prepare | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [master] | |
paths: | |
- 'packages/patrol_cli/**' | |
jobs: | |
main: | |
name: Flutter ${{ matrix.flutter-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
flutter-version: ['3.3.x', '3.7.x', '3.10.0'] | |
defaults: | |
run: | |
working-directory: packages/patrol_cli | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ matrix.flutter-version }} | |
- name: Run flutter tool (to dismiss the first run experience) | |
run: flutter | |
- name: dart pub get | |
run: dart pub get | |
- name: Build executable | |
run: dart pub global activate --source path . | |
- name: Run executable (smoke test) | |
run: patrol | |
- name: dart test | |
run: | | |
dart test --coverage coverage | |
dart run coverage:format_coverage --lcov --in coverage --out coverage/lcov.info --report-on lib | |
- name: dart analyze | |
run: dart analyze | |
- name: dart format | |
run: dart format --set-exit-if-changed . | |
- name: dart pub publish --dry-run | |
run: dart pub publish --dry-run |