blob: ec03c0f84e7d942d677db7007665774c2731a989 [file] [edit]
name: CI - Java
on:
workflow_call:
workflow_dispatch:
jobs:
build:
name: Build
uses: ./.github/workflows/bazel.yml
with:
name: Build
cache-key: java
run: bazel build grid
docs:
name: Documentation
needs: build
uses: ./.github/workflows/bazel.yml
with:
name: Documentation
cache-key: java-doc
run: ./go --verbose javadocs
browser-tests:
name: Browser Tests
needs: build
uses: ./.github/workflows/bazel.yml
strategy:
fail-fast: false
matrix:
include:
- os: windows
- 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-tests:
name: Remote Tests
needs: build
uses: ./.github/workflows/bazel.yml
strategy:
fail-fast: false
matrix:
include:
- os: windows
- 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