Skip to content

Commit c4c37c4

Browse files
committed
[java] Running in GH Actions some skipped tests in the RBE build
1 parent 28d0bce commit c4c37c4

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

.github/workflows/ci-java.yml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,24 @@ jobs:
1919
os: ${{ matrix.os }}
2020
browser: chrome
2121
cache-key: java-${{ matrix.os }}-tests
22-
run: >
23-
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest
22+
run: |
23+
if [[ "${{ runner.os }}" == "windows" ]]; then
24+
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest ^
25+
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest ^
26+
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest ^
27+
//java/test/org/openqa/selenium/grid/gridui:OverallGridTest ^
28+
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest ^
29+
//java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest ^
30+
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest
31+
else
32+
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
33+
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest \
34+
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest \
35+
//java/test/org/openqa/selenium/grid/gridui:OverallGridTest \
36+
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest \
37+
//java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest \
38+
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest
39+
fi
2440
2541
remote-tests:
2642
name: Remote Tests
@@ -36,5 +52,11 @@ jobs:
3652
os: ${{ matrix.os }}
3753
browser: chrome
3854
cache-key: java-${{ matrix.os }}-remote-tests
39-
run: >
40-
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote
55+
run: |
56+
if [[ "${{ runner.os }}" == "windows" ]]; then
57+
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote ^
58+
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-remote
59+
else
60+
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
61+
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-remote
62+
fi

0 commit comments

Comments
 (0)