You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: add new integration tests & bazel-in-bazel tests to … glob (#33927)
Move bazel-in-bazel them to test job & increase it is 2xlarge+. test_integration_bazel is removed. Overall CI credit usage is reduced.
test: include ng_elements_schematics in legacy integration tests temporarily
This test was recently added and use a new pattern that doesn't work with npm_integration_test out of the box. It needs some refactoring to work. Left a TODO for this
PR Close#33927
# Unexpected value 'BrowserModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-58883IJeiUMLGHRRQ/node_modules/@angular/platform-browser/src/browser.d.ts' imported by the module 'AppModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-58883IJeiUMLGHRRQ/src/app.ts'. Please add a @NgModule annotation.
83
-
# ```
84
-
"i18n",
85
-
# `ivy-i18n` fails with:
86
-
# ```
87
-
# ERROR in Unexpected value 'BrowserModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-59999cYHm5rQoUk0v/node_modules/@angular/platform-browser/src/browser.d.ts' imported by the module 'AppModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-59999cYHm5rQoUk0v/src/app/app.module.ts'. Please add a @NgModule annotation.
88
-
# @angular/core/src/i18n/tokens.ts(31,22): Error during template compile of 'LOCALE_ID'
89
-
# Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler.
90
-
# Can't resolve all parameters for AppComponent in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-59999cYHm5rQoUk0v/src/app/app.component.ts: (?).
# <p id="date">{{ [ERROR ->]jan | date : 'LLLL' }}</p>
101
-
# <h2>Here are some links to help you start: </h2>
102
-
# <ul>
103
-
# ")
104
-
# ```
105
-
"ivy-i18n",
106
-
# `cli-hello-world-ivy-i18n` fails with:
107
-
# ```
108
-
# ERROR in Unexpected value 'BrowserModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-59695c6NwKC6Djcv4/node_modules/@angular/platform-browser/src/browser.d.ts' imported by the module 'AppModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-59695c6NwKC6Djcv4/src/app/app.module.ts'. Please add a @NgModule annotation.
109
-
# @angular/core/src/i18n/tokens.ts(31,22): Error during template compile of 'LOCALE_ID'
110
-
# Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler.
111
-
# Can't resolve all parameters for AppComponent in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-59695c6NwKC6Djcv4/src/app/app.component.ts: (?).
112
-
# The pipe 'percent' could not be found ("1 i18n="some:description"> Hello {{ title }}! </h1>
# Unexpected value 'BrowserModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-620291x2ZHDyIWIdL/node_modules/@angular/platform-browser/src/browser.d.ts' imported by the module 'AppModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-620291x2ZHDyIWIdL/src/app.ts'. Please add a @NgModule annotation.
129
-
# ```
130
-
"dynamic-compiler",
131
-
# `ng_elements` has .ngfactory imports:
132
-
# ```
133
-
# $ ngc && yarn run closure && concurrently "yarn run serve" "yarn run protractor" --kill-others --success first
# Unexpected value 'BrowserModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-620291x2ZHDyIWIdL/node_modules/@angular/platform-browser/src/browser.d.ts' imported by the module 'AppModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-620291x2ZHDyIWIdL/src/app.ts'. Please add a @NgModule annotation.
# Unexpected value 'BrowserModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-67554cqUv301iuuwu/node_modules/@angular/platform-browser/src/browser.d.ts' imported by the module 'AppModule in /private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-67554cqUv301iuuwu/src/app.ts'. Please add a @NgModule annotation. # ```
170
-
"hello_world__closure",
171
-
]
59
+
fortest_folderinINTEGRATION_TESTS
172
60
]
173
61
174
-
# Special cases for bazel-in-bazel tests which are tagged as "exclusive" so that they don't drain
175
-
# all the resources on the machine when run in parallel. Also only run these tests against the
176
-
# ViewEngine generated packages. Since these tests are "exclusive", also tag them as manual as they
177
-
# will be run in separate CI jobs.
178
-
angular_integration_test(
179
-
name="bazel_test",
180
-
tags= [
181
-
"exclusive",
182
-
"manual",
183
-
"no-ivy-aot",
184
-
],
185
-
test_folder="bazel",
186
-
)
187
-
188
-
angular_integration_test(
189
-
name="bazel-schematics_test",
190
-
tags= [
191
-
"exclusive",
192
-
"manual",
193
-
"no-ivy-aot",
194
-
# Don't execute remotely as these test depends on the locally installed Chrome
195
-
"no-remote-exec",
196
-
],
197
-
test_folder="bazel-schematics",
198
-
)
199
-
200
62
# Special case for `typings_test_ts36` test as we want to pin
201
63
# `typescript` at version 3.6.x for that test and not link to the
202
64
# root @npm//typescript package.
@@ -206,6 +68,15 @@ angular_integration_test(
206
68
test_folder="typings_test_ts36",
207
69
)
208
70
71
+
# Special case for `typings_test_ts37` test as we want to pin
72
+
# `typescript` at version 3.7.x for that test and not link to the
73
+
# root @npm//typescript package.
74
+
angular_integration_test(
75
+
name="typings_test_ts37_test",
76
+
pinned_npm_packages= ["typescript"],
77
+
test_folder="typings_test_ts37",
78
+
)
79
+
209
80
# Special case for `hello_world__systemjs_umd` test as we want to pin
210
81
# `systems` at version 0.20.2 and not link to the the root @npm//systemjs
211
82
# which is stuck at 0.18.10 and can't be updated to 0.20.2 without
0 commit comments