5
5
workflow_dispatch :
6
6
7
7
jobs :
8
- browser-tests :
8
+ browser-tests-windows :
9
9
name : Browser Tests
10
10
uses : ./.github/workflows/bazel.yml
11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
14
14
include :
15
15
- os : windows
16
+ with :
17
+ name : Browser Tests (chrome, ${{ matrix.os }})
18
+ os : ${{ matrix.os }}
19
+ browser : chrome
20
+ cache-key : java-${{ matrix.os }}-tests
21
+ run : |
22
+ bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest ^
23
+ //java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest ^
24
+ //java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest ^
25
+ //java/test/org/openqa/selenium/grid/gridui:OverallGridTest ^
26
+ //java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest ^
27
+ //java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest ^
28
+ //java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest
29
+
30
+ browser-tests-macos :
31
+ name : Browser Tests
32
+ uses : ./.github/workflows/bazel.yml
33
+ strategy :
34
+ fail-fast : false
35
+ matrix :
36
+ include :
16
37
- os : macos
17
38
with :
18
39
name : Browser Tests (chrome, ${{ matrix.os }})
19
40
os : ${{ matrix.os }}
20
41
browser : chrome
21
42
cache-key : java-${{ matrix.os }}-tests
22
43
run : |
23
- if [[ "${{ matrix.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
44
+ bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
45
+ //java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest \
46
+ //java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest \
47
+ //java/test/org/openqa/selenium/grid/gridui:OverallGridTest \
48
+ //java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest \
49
+ //java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest \
50
+ //java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest
40
51
41
52
remote-tests :
42
53
name : Remote Tests
@@ -45,18 +56,12 @@ jobs:
45
56
fail-fast : false
46
57
matrix :
47
58
include :
48
- - os : windows
49
59
- os : macos
50
60
with :
51
61
name : Remote Tests (chrome, ${{ matrix.os }})
52
62
os : ${{ matrix.os }}
53
63
browser : chrome
54
64
cache-key : java-${{ matrix.os }}-remote-tests
55
65
run : |
56
- if [[ "${{ matrix.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
66
+ bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
67
+ //java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-remote
0 commit comments