-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
67 lines (63 loc) · 2.44 KB
/
ci-java.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: CI - Java
on:
workflow_call:
workflow_dispatch:
jobs:
browser-tests-windows:
name: Browser Tests
uses: ./.github/workflows/bazel.yml
strategy:
fail-fast: false
matrix:
include:
- os: windows
with:
name: Browser Tests (chrome, ${{ matrix.os }})
os: ${{ matrix.os }}
browser: chrome
cache-key: java-${{ matrix.os }}-tests
run: |
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
browser-tests-macos:
name: Browser Tests
uses: ./.github/workflows/bazel.yml
strategy:
fail-fast: false
matrix:
include:
- os: macos
with:
name: Browser Tests (chrome, ${{ matrix.os }})
os: ${{ matrix.os }}
browser: chrome
cache-key: java-${{ matrix.os }}-tests
run: |
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
remote-tests:
name: Remote Tests
uses: ./.github/workflows/bazel.yml
strategy:
fail-fast: false
matrix:
include:
- os: macos
with:
name: Remote Tests (chrome, ${{ matrix.os }})
os: ${{ matrix.os }}
browser: chrome
cache-key: java-${{ matrix.os }}-remote-tests
run: |
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-remote