Skip to content

Commit 753766e

Browse files
committed
[bazel] Force remote test env to be more identical between machines
1 parent 8723640 commit 753766e

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.bazelrc

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ build --test_output=errors
4747

4848
# pass environment variables to the test environment
4949

50-
build --test_env=CI
51-
build --test_env=DASHBOARD_URL
52-
build --test_env=DISPLAY
53-
build --test_env=FIREFOX_NIGHTLY_BINARY
54-
build --test_env=GITHUB_ACTIONS
55-
build --test_env=MOZ_HEADLESS
56-
build --test_env=PATH # Remove once browser pinning works
57-
build --test_env=SELENIUM_BROWSER
58-
build --test_env=TRAVIS
59-
build --test_env=PYTHON_VERSION
50+
test --test_env=CI
51+
test --test_env=DASHBOARD_URL
52+
test --test_env=DISPLAY
53+
test --test_env=FIREFOX_NIGHTLY_BINARY
54+
test --test_env=GITHUB_ACTIONS
55+
test --test_env=MOZ_HEADLESS
56+
test --test_env=PATH # Remove once browser pinning works
57+
test --test_env=SELENIUM_BROWSER
58+
test --test_env=TRAVIS
59+
test --test_env=PYTHON_VERSION
6060

6161
# Remove once rules_ruby support proper $LOAD_PATH expansion.
6262

63-
build --test_env=RUBYOPT="-Irb/lib -w"
63+
test --test_env=RUBYOPT="-Irb/lib -w"
6464

6565
# JRuby/TruffleRuby: https://github.com/jruby/jruby/issues/5661
6666

@@ -118,6 +118,7 @@ test:remote --test_tag_filters=-edge,-safari,-remote
118118
# Env vars we can hard code
119119
build:remote --action_env=HOME=/home/dev
120120
build:remote --action_env=PATH=/bin:/usr/bin:/usr/local/bin
121+
test:remote --test_env=PATH=/bin:/usr/bin:/usr/local/bin
121122
test:remote --test_env=HOME=/home/dev
122123

123124
# Make sure we sniff credentials properly

0 commit comments

Comments
 (0)