Skip to content

Commit b8819d5

Browse files
committed
[ci] Move atoms tests into the rbe build
1 parent 47b4cdc commit b8819d5

File tree

3 files changed

+12
-23
lines changed

3 files changed

+12
-23
lines changed

.github/workflows/ci-javascript.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,6 @@ on:
55
workflow_dispatch:
66

77
jobs:
8-
build:
9-
name: Build
10-
uses: ./.github/workflows/bazel.yml
11-
with:
12-
name: Build
13-
cache-key: javascript-build
14-
run: bazel build //javascript/node/selenium-webdriver:selenium-webdriver
15-
16-
atoms:
17-
name: Atom Tests
18-
needs: build
19-
uses: ./.github/workflows/bazel.yml
20-
with:
21-
name: Atom Tests
22-
browser: firefox
23-
cache-key: atoms
24-
run: >
25-
bazel test --test_tag_filters=firefox,-firefox-beta,-firefox-dev
26-
//javascript/atoms/...
27-
//javascript/webdriver/...
28-
298
browser-tests:
309
name: Browser Tests
3110
needs: build

.skipped-tests

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@
3535
-//java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest
3636
-//java/test/org/openqa/selenium/remote:RemoteWebDriverScreenshotTest-remote
3737
-//java/test/org/openqa/selenium:FormHandlingTest-chrome
38+
-//javascript/atoms:test-chrome
39+
-//javascript/atoms:test-firefox-beta
40+
-//javascript/atoms:test-firefox-dev
3841
-//py:common-chrome-test/selenium/webdriver/common/virtual_authenticator_tests.py
3942
-//py:test-chrome-test/selenium/webdriver/chrome/chrome_launcher_tests.py
4043
-//py:test-chrome-test/selenium/webdriver/chrome/proxy_tests.py
4144
-//py:test-chrome-test/selenium/webdriver/chrome/chrome_service_tests.py
45+
-//py:auto-chrome-test/selenium/webdriver/common/virtual_authenticator_tests.py
4246
-//py:unit-test/unit/selenium/webdriver/common/cdp_module_fallback_tests.py

scripts/github-actions/ci-build.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ bazel query @npm//:all >/dev/null
1313
# Now run the tests. The engflow build uses pinned browsers
1414
# so this should be fine
1515
# shellcheck disable=SC2046
16-
bazel test --config=remote-ci --build_tests_only --test_tag_filters=-exclusive-if-local,-skip-remote --keep_going --flaky_test_attempts=2 //dotnet/... //java/... //py/... -- $(cat .skipped-tests | tr '\n' ' ')
16+
bazel test --config=remote-ci --build_tests_only \
17+
--test_tag_filters=-exclusive-if-local,-skip-remote \
18+
--keep_going --flaky_test_attempts=2 \
19+
//dotnet/... \
20+
//java/... \
21+
//javascript/atoms/... //javascript/selenium-atoms/... //javascript/webdriver/... \
22+
//py/... -- $(cat .skipped-tests | tr '\n' ' ')
1723
# Build the packages we want to ship to users
18-
bazel build --config=remote-ci //dotnet:all java/src/... //py:selenium-wheel
24+
bazel build --config=remote-ci //dotnet:all java/src/... //javascript/node/selenium-webdriver:selenium-webdriver //py:selenium-wheel

0 commit comments

Comments
 (0)