Skip to content

chore(deps): bump mason from 0.1.0-dev.60 to 0.1.0 in /bricks/test_optimizer/hooks #1434

chore(deps): bump mason from 0.1.0-dev.60 to 0.1.0 in /bricks/test_optimizer/hooks

chore(deps): bump mason from 0.1.0-dev.60 to 0.1.0 in /bricks/test_optimizer/hooks #1434

Workflow file for this run

name: e2e
on:
pull_request:
paths:
- ".github/workflows/e2e.yaml"
- "**"
- "lib/**"
- "test/**"
- "pubspec.yaml"
push:
branches:
- main
paths:
- ".github/workflows/e2e.yaml"
- "**"
- "lib/**"
- "test/**"
- "pubspec.yaml"
jobs:
e2e:
runs-on: ubuntu-latest
strategy:
matrix:
flutter-version:
# The version of Flutter to use should use the minimum Dart SDK version supported by the package,
# refer to https://docs.flutter.dev/development/tools/sdk/releases.
- "3.24.0"
- "3.x"
test:
# E2E tests for the test command
- test/commands/test/async_main/async_main_test.dart
- test/commands/test/compilation_error/compilation_error_test.dart
- test/commands/test/no_project/no_project_test.dart
- test/commands/test/spaced_golden_file_name/spaced_golden_file_name_test.dart
# E2E tests for the create command
- test/commands/create/flutter_app/core_test.dart
- test/commands/create/dart_cli/dart_cli_test.dart
- test/commands/create/dart_package/dart_pkg_test.dart
- test/commands/create/docs_site/docs_site_test.dart
# FIXME(alestiago): Re-enable once the following issue has been solved:
# https://github.com/VeryGoodOpenSource/very_good_flame_game/issues/132
# - test/commands/create/flame_game/flame_game_test.dart
- test/commands/create/flutter_package/flutter_pkg_test.dart
- test/commands/create/flutter_plugin/flutter_plugin_test.dart
# E2E tests for the `packages check licenses` command
- test/commands/packages/check/licenses/licenses_allowed_test.dart
- test/commands/packages/check/licenses/licenses_forbidden_test.dart
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter-version }}
- name: Install LCOV
run: sudo apt-get install -y lcov
- name: 📦 Install Dependencies (root)
run: dart pub get
- name: 📦 Install Dependencies (e2e)
working-directory: e2e
run: dart pub get
- name: 🧪 Run Tests (e2e)
working-directory: e2e
run: dart test ${{ matrix.test }} --run-skipped