Bump selenium.version from 4.43.0 to 4.44.0 #2092
Workflow file for this run
This file contains hidden or 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: | |
| env: | |
| DISPLAY: :99 | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, windows-latest, macos-latest ] | |
| java: [ 17 ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout GitHub repo | |
| uses: actions/checkout@v6 | |
| - name: Set up Java | |
| uses: actions/setup-java@v5.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| cache: 'maven' | |
| - name: Start Xvfb | |
| if: matrix.os == 'ubuntu-latest' | |
| run: | | |
| Xvfb $DISPLAY & | |
| - name: Install browsers in macOS | |
| if: matrix.os == 'macos-latest' | |
| run: | | |
| brew install --cask firefox | |
| /Applications/Firefox.app/Contents/MacOS/firefox --version | |
| brew install --cask microsoft-edge | |
| "/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge" -version | |
| - name: Run tests on Linux | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: nick-invision/retry@v4.0.0 | |
| with: | |
| timeout_minutes: 30 | |
| max_attempts: 3 | |
| command: | | |
| mvn -B test | |
| - name: Run tests on Windows and macOS | |
| if: matrix.os != 'ubuntu-latest' | |
| uses: nick-invision/retry@v4.0.0 | |
| with: | |
| timeout_minutes: 30 | |
| max_attempts: 3 | |
| command: | | |
| mvn -B test -Dtest=!Docker* | |
| - name: Upload analysis to SonarCloud | |
| if: success() && matrix.os == 'ubuntu-latest' && !contains(github.ref, 'pull') | |
| run: > | |
| mvn -B sonar:sonar | |
| -Dsonar.host.url=https://sonarcloud.io | |
| -Dsonar.organization=bonigarcia-github | |
| -Dsonar.projectKey=io.github.bonigarcia:webdrivermanager | |
| - name: Upload coverage to Codecov | |
| if: success() && matrix.os == 'ubuntu-latest' && !contains(github.ref, 'pull') | |
| uses: codecov/codecov-action@v6.0.0 | |
| - name: Store recordings on Linux | |
| if: always() && matrix.os == 'ubuntu-latest' | |
| uses: actions/upload-artifact@v7.0.1 | |
| with: | |
| name: linux-recordings | |
| path: | | |
| *.webm | |
| - name: Store recordings on Windows | |
| if: always() && matrix.os == 'windows-latest' | |
| uses: actions/upload-artifact@v7.0.1 | |
| with: | |
| name: win-recordings | |
| path: | | |
| *.webm | |
| - name: Store recordings on macOS | |
| if: always() && matrix.os == 'macos-latest' | |
| uses: actions/upload-artifact@v7.0.1 | |
| with: | |
| name: macos-recordings | |
| path: | | |
| *.webm |