VeryGoodOpenSource / very_good_templates

Collection of open-source templates created and maintained by Very Good Ventures.
61 stars 11 forks source link

chore: tighten template dependencies #137

Closed github-actions[bot] closed 2 months ago

github-actions[bot] commented 2 months ago

Tighten dependencies for all direct hosted dependencies in templated pubspec.yaml files.

alestiago commented 2 months ago

I was able to reproduce the CI error locally:

  1. Generate the Very Good Flame Game template (from very_good_templates):
mason make very_good_flame_game -o output
  1. Get the project dependencies (from very_good_templates/output/my_game):

    flutter pub get
  2. Run all the tests (from very_good_templates/output/my_game):

    flutter test test/game/view/game_page_test.dart # Test fails
  3. Run only the tests in "test/game/view/game_page_test.dart " (from very_good_templates/output/my_game):

flutter test test/game/view/game_page_test.dart  # Test fails
  1. Run the failing test (from very_good_templates/output/my_game):
flutter test test/game/view/game_page_test.dart --name "is routable" # Test passes