fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.8 #871
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: Run Kotlin examples | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '45 22 * * *' | |
pull_request: | |
branches: | |
- trunk | |
paths: | |
- 'examples/kotlin/**' | |
push: | |
branches: | |
- trunk | |
paths: | |
- 'examples/kotlin/**' | |
env: | |
DISPLAY: :99 | |
GITHUB_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }} | |
GH_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }} | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu, windows, macos ] | |
runs-on: ${{ format('{0}-latest', matrix.os) }} | |
steps: | |
- name: Checkout GitHub repo | |
uses: actions/checkout@v4 | |
- name: Install Chrome for set binary test | |
uses: browser-actions/setup-chrome@v1 | |
with: | |
chrome-version: stable | |
id: setup-chrome | |
- name: Install Edge for set binary test | |
uses: browser-actions/setup-edge@v1 | |
with: | |
edge-version: stable | |
id: setup-edge | |
- name: Install Firefox for set binary test | |
if: matrix.os != 'windows' | |
uses: browser-actions/setup-firefox@v1 | |
with: | |
firefox-version: latest | |
id: setup-firefox | |
- name: Set ENV Windows | |
if: matrix.os == 'windows' | |
run: | | |
echo "CHROME_BIN=${{ steps.setup-chrome.outputs.chrome-path }}" >> $env:GITHUB_ENV | |
echo "EDGE_BIN=C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" >> $env:GITHUB_ENV | |
echo "FF_BIN=C:\Program Files (x86)\Mozilla Firefox\firefox-browser.exe" >> $env:GITHUB_ENV | |
- name: Set ENV Mac | |
if: matrix.os == 'macos' | |
run: | | |
echo "CHROME_BIN=${{ steps.setup-chrome.outputs.chrome-path }}" >> "$GITHUB_ENV" | |
echo "EDGE_BIN=/Users/runner/hostedtoolcache/msedge/stable/x64/Contents/MacOS/Microsoft Edge" >> "$GITHUB_ENV" | |
echo "FF_BIN=/Users/runner/hostedtoolcache/firefox/latest/x64/Contents/MacOS/firefox" >> "$GITHUB_ENV" | |
- name: Set ENV Linux | |
if: matrix.os == 'ubuntu' | |
run: | | |
echo "CHROME_BIN=${{ steps.setup-chrome.outputs.chrome-path }}" >> "$GITHUB_ENV" | |
echo "EDGE_BIN=/opt/hostedtoolcache/msedge/stable/x64/msedge" >> "$GITHUB_ENV" | |
echo "FF_BIN=/opt/hostedtoolcache/firefox/latest/x64/firefox" >> "$GITHUB_ENV" | |
- name: Remove driver directories Windows | |
if: matrix.os == 'windows' | |
run: | | |
rm "$env:ChromeWebDriver" -r -v | |
rm "$env:EdgeWebDriver" -r -v | |
rm "$env:GeckoWebDriver" -r -v | |
- name: Remove driver directories Non-Windows | |
if: matrix.os != 'windows' | |
run: | | |
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER | |
- name: Start Xvfb | |
if: matrix.os == 'ubuntu' | |
run: Xvfb :99 & | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Run tests | |
uses: nick-invision/[email protected] | |
with: | |
timeout_minutes: 20 | |
max_attempts: 3 | |
command: | | |
cd examples/kotlin | |
mvn -B test |