Skip to content

Commit 97556fd

Browse files
gregmagolanmhevery
authored andcommitted
ci: install java runtime in test job (#33927)
Install java runtime which is required by some integration tests such as `//integration:hello_world__closure_test`, `//integration:i18n_test` and `//integration:ng_elements_test` to run the closure compiler. PR Close #33927
1 parent d95b2f0 commit 97556fd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.circleci/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,19 @@ commands:
136136
# circleci/node:x.x.x-browsers image.
137137
sudo apt-get -y install libgtk-3-0 libasound2 libnss3 libxss1
138138
139+
# Install java runtime which is required by some integration tests such as
140+
# //integration:hello_world__closure_test, //integration:i18n_test and
141+
# //integration:ng_elements_test to run the closure compiler
142+
install_java:
143+
description: Install java
144+
steps:
145+
- run:
146+
name: Install java
147+
command: |
148+
sudo apt-get update
149+
# Install java runtime
150+
sudo apt-get install default-jre
151+
139152
# Initializes the CI environment by setting up common environment variables.
140153
init_environment:
141154
description: Initializing environment (setting up variables)
@@ -286,6 +299,7 @@ jobs:
286299
- custom_attach_workspace
287300
- init_environment
288301
- install_chrome_libs
302+
- install_java
289303
- run:
290304
command: yarn bazel test //... --build_tag_filters=-ivy-only --test_tag_filters=-ivy-only
291305
no_output_timeout: 20m

0 commit comments

Comments
 (0)