Bump seleniumVersion from 4.25.0 to 4.26.0 #2055
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
project: [ junit4, junit5, junit5-seljup, testng ] | |
build-tool: [ mvn, gradle ] | |
os: [ ubuntu-latest ] | |
java: [ 17 ] | |
runs-on: ${{ matrix.os }} | |
env: | |
DISPLAY: :99 | |
steps: | |
- name: Checkout GitHub repo | |
uses: actions/checkout@v4 | |
- name: Set up Java ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Start Xvfb on Linux | |
if: matrix.os == 'ubuntu-latest' | |
run: Xvfb $DISPLAY & | |
- name: Run ${{ matrix.project }} tests with Maven | |
if: matrix.build-tool == 'mvn' | |
uses: nick-invision/[email protected] | |
with: | |
timeout_minutes: 30 | |
max_attempts: 3 | |
command: | | |
cd selenium-webdriver-${{ matrix.project }} | |
mvn test -Dtest=!*Edge*,!*CrossBrowser* | |
- name: Run ${{ matrix.project }} tests with Gradle | |
if: matrix.build-tool == 'gradle' | |
uses: nick-invision/[email protected] | |
with: | |
timeout_minutes: 30 | |
max_attempts: 3 | |
command: | | |
cd selenium-webdriver-${{ matrix.project }} | |
./gradlew test -PexcludeTests=**/*Edge*,**/*CrossBrowser* |