forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
46 lines (34 loc) · 1.31 KB
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
try-import .bazelrc.local
build --flag_alias=pin_browsers=//common:pin_browsers
build --flag_alias=headless=//common:headless
# Set the default java toolchain
build --java_runtime_version=remotejdk_11
build --tool_java_language_version=11
# We target java 8 by default
build --javacopt="--release 8"
# Require java dependencies to be used and first-order
build --strict_java_deps=strict
build --explicit_java_test_deps
# Ensure builds are unpolluted by the user env
build --incompatible_strict_action_env
# Except for the PATH environment variable
#build --action_env=PATH
# For build stamping
build --workspace_status_command=scripts/build-info.py
# Make sure we get something helpful when tests fail
build --verbose_failures
build --test_output=errors
# Tests need to be able to open sockets on localhost
build --noexperimental_sandbox_default_allow_network
# pass environment variables to the test environment
build --test_env=CI
build --test_env=DASHBOARD_URL
build --test_env=DISPLAY
build --test_env=GITHUB_ACTIONS
build --test_env=LOCALAPPDATA
build --test_env=MOZ_HEADLESS
build --test_env=PATH # Remove once browser pinning works
build --test_env=SELENIUM_BROWSER
build --test_env=TRAVIS
test --test_timeout=1800
test:node_debug --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results