From 7d31f7b5406f8bd3098e0d8c3b9a2b6f6948738f Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 17 May 2019 13:50:24 +0200 Subject: [PATCH] ci: include more tests in windows ci (#30472) We added most of the tests excluded the once which are tagged with `browser:chromium-local` as they are currently not working in CI but work locally. The `--test_tag_filters` option is now passed via command line as it seems that it has no effect as it is passed in both RC and command line. IE command line options are not merged with the RC options but rather overridden. PR Close #30472 --- .codefresh/bazel.rc | 5 ----- .codefresh/codefresh.yml | 9 ++++++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.codefresh/bazel.rc b/.codefresh/bazel.rc index 5a2fa5ca6d..43b19f4b47 100644 --- a/.codefresh/bazel.rc +++ b/.codefresh/bazel.rc @@ -35,8 +35,3 @@ build --verbose_failures=true # https://github.com/bazelbuild/rules_typescript/pull/356 build --action_env=PATH test --action_env=PATH --test_env=PATH - -# Exclude tests known to not work on Windows. - -# Chrome web tests are currently broken. -test --test_tag_filters=-browser:chromium-local diff --git a/.codefresh/codefresh.yml b/.codefresh/codefresh.yml index fd74b0f32f..c1550040f9 100644 --- a/.codefresh/codefresh.yml +++ b/.codefresh/codefresh.yml @@ -12,7 +12,7 @@ steps: dockerfile: ./Dockerfile.win-1809 RunTests: - title: Run Example + title: Run Tests image: ${{BuildImage}} commands: # Install dependencies @@ -20,5 +20,8 @@ steps: # Add Bazel CI config - copy .codefresh\bazel.rc %ProgramData%\bazel.bazelrc # Run tests - - yarn test-ivy-aot //packages/animations/test //packages/common/test //packages/forms/test //packages/http/test //packages/platform-browser/test //packages/platform-browser-dynamic/test //packages/router/test - - yarn bazel test //tools/ts-api-guardian:all //tools/public_api_guard/... //packages/language-service/test //packages/compiler-cli/ngcc/test:test //packages/compiler-cli/integrationtest:integrationtest //packages/compiler-cli/test/compliance:compliance //packages/compiler/test //packages/compiler-cli/test:ngc //packages/compiler-cli/test/ngtsc:ngtsc + # At the moment 'browser:chromium-local' are broken in CI while locally they work + # VE + - yarn bazel test --build_tag_filters=-ivy-only --test_tag_filters=-ivy-only,-browser:chromium-local //... + # Ivy + - yarn bazel test --define=compile=aot --build_tag_filters=-no-ivy-aot,-fixme-ivy-aot --test_tag_filters=-no-ivy-aot,-fixme-ivy-aot,-browser:chromium-local //...