From 73637b81a91e4373811bbc68922768edf025ac2e Mon Sep 17 00:00:00 2001 From: chunhtai <47866232+chunhtai@users.noreply.github.com> Date: Wed, 21 Dec 2022 10:01:56 -0800 Subject: [PATCH] [go_router_builder] ignore pubspec.yaml in ensure build test (#2984) * [go_router_builder] ignore pubspec.yaml in ensure build test * bump version --- .cirrus.yml | 2 +- packages/go_router_builder/example/pubspec.yaml | 2 +- packages/go_router_builder/example/test/ensure_build_test.dart | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 1a1586bf0b9..85726fb1829 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -137,7 +137,7 @@ task: - ./script/tool_runner.sh test --exclude=script/configs/dart_unit_tests_exceptions.yaml pathified_unit_test_script: # Run tests with path-based dependencies to ensure that publishing - # the changes won't break tests of other packages in the respository + # the changes won't break tests of other packages in the repository # that depend on it. - ./script/tool_runner.sh make-deps-path-based --target-dependencies-with-non-breaking-updates - $PLUGIN_TOOL_COMMAND test --run-on-dirty-packages --exclude=script/configs/dart_unit_tests_exceptions.yaml diff --git a/packages/go_router_builder/example/pubspec.yaml b/packages/go_router_builder/example/pubspec.yaml index 4182ba39d03..71ec4780bbd 100644 --- a/packages/go_router_builder/example/pubspec.yaml +++ b/packages/go_router_builder/example/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: dev_dependencies: build_runner: ^2.0.0 - build_verify: ^3.0.0 + build_verify: ^3.1.0 flutter_test: sdk: flutter go_router_builder: diff --git a/packages/go_router_builder/example/test/ensure_build_test.dart b/packages/go_router_builder/example/test/ensure_build_test.dart index a39670eb9ce..8386fb8d663 100644 --- a/packages/go_router_builder/example/test/ensure_build_test.dart +++ b/packages/go_router_builder/example/test/ensure_build_test.dart @@ -10,6 +10,7 @@ void main() { 'ensure_build', () => expectBuildClean( packageRelativeDirectory: 'packages/go_router_builder/example', + gitDiffPathArguments: [':!pubspec.yaml'], ), timeout: const Timeout.factor(3), );