Skip to content

Commit

Permalink
[java] Running in GH Actions some skipped tests in the RBE build
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Mar 25, 2024
1 parent 28d0bce commit c4c37c4
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/ci-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,24 @@ jobs:
os: ${{ matrix.os }}
browser: chrome
cache-key: java-${{ matrix.os }}-tests
run: >
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest
run: |
if [[ "${{ runner.os }}" == "windows" ]]; then
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest ^
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest ^
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest ^
//java/test/org/openqa/selenium/grid/gridui:OverallGridTest ^
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest ^
//java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest ^
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest
else
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest \
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest \
//java/test/org/openqa/selenium/grid/gridui:OverallGridTest \
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest \
//java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest \
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest
fi
remote-tests:
name: Remote Tests
Expand All @@ -36,5 +52,11 @@ jobs:
os: ${{ matrix.os }}
browser: chrome
cache-key: java-${{ matrix.os }}-remote-tests
run: >
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote
run: |
if [[ "${{ runner.os }}" == "windows" ]]; then
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote ^
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-remote
else
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-remote
fi

0 comments on commit c4c37c4

Please sign in to comment.