chore(deps-dev): bump eslint from 9.16.0 to 9.17.0 in /site (#1211) #1473
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: 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 |