Skip to content

Commit 34a9dd8

Browse files
committed
ensure latest browsers installed in all examples workflows
1 parent 6fa4f8f commit 34a9dd8

File tree

6 files changed

+70
-18
lines changed

6 files changed

+70
-18
lines changed

.github/workflows/dotnet-examples.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ env:
2121
GH_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }}
2222

2323
jobs:
24-
test_examples:
24+
tests:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ ubuntu-latest, windows-latest, macos-latest ]
28+
os: [ ubuntu, windows, macos ]
2929
release: [ stable, nightly ]
30-
runs-on: ${{ matrix.os }}
30+
runs-on: ${{ format('{0}-latest', inputs.os) }}
3131
steps:
3232
- name: Checkout GitHub repo
3333
uses: actions/checkout@v4
@@ -41,6 +41,19 @@ jobs:
4141
if: matrix.os != 'windows-latest'
4242
run: |
4343
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
44+
- name: Setup Chrome
45+
uses: browser-actions/setup-chrome@latest
46+
with:
47+
chrome-version: stable'
48+
- name: Setup Firefox
49+
uses: abhi1693/[email protected]
50+
with:
51+
browser: firefox
52+
version: latest
53+
- name: Setup Edge
54+
uses: browser-actions/setup-edge@latest
55+
with:
56+
edge-version: stable
4457
- name: Start Xvfb
4558
if: matrix.os == 'ubuntu-latest'
4659
run: Xvfb :99 &

.github/workflows/java-examples.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ env:
2121
GH_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }}
2222

2323
jobs:
24-
test_examples:
24+
tests:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ ubuntu-latest, windows-latest, macos-latest ]
28+
os: [ ubuntu, windows, macos ]
2929
release: [ stable, nightly ]
30-
runs-on: ${{ matrix.os }}
30+
runs-on: ${{ format('{0}-latest', inputs.os) }}
3131
steps:
3232
- name: Checkout GitHub repo
3333
uses: actions/checkout@v4
@@ -41,6 +41,19 @@ jobs:
4141
if: matrix.os != 'windows-latest'
4242
run: |
4343
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
44+
- name: Setup Chrome
45+
uses: browser-actions/setup-chrome@latest
46+
with:
47+
chrome-version: stable'
48+
- name: Setup Firefox
49+
uses: abhi1693/[email protected]
50+
with:
51+
browser: firefox
52+
version: latest
53+
- name: Setup Edge
54+
uses: browser-actions/setup-edge@latest
55+
with:
56+
edge-version: stable
4457
- name: Start Xvfb
4558
if: matrix.os == 'ubuntu-latest'
4659
run: Xvfb :99 &

.github/workflows/js-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ env:
2121
GH_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }}
2222

2323
jobs:
24-
test_examples:
24+
tests:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ ubuntu-latest, windows-latest, macos-latest ]
28+
os: [ ubuntu, windows, macos ]
2929
release: [ stable, nightly ]
30-
runs-on: ${{ matrix.os }}
30+
runs-on: ${{ format('{0}-latest', inputs.os) }}
3131
steps:
3232
- name: Checkout GitHub repo
3333
uses: actions/checkout@v4

.github/workflows/kotlin-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ env:
2121
GH_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }}
2222

2323
jobs:
24-
test_examples:
24+
tests:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ ubuntu-latest, windows-latest, macos-latest ]
29-
runs-on: ${{ matrix.os }}
28+
os: [ ubuntu, windows, macos ]
29+
runs-on: ${{ format('{0}-latest', inputs.os) }}
3030
steps:
3131
- name: Checkout GitHub repo
3232
uses: actions/checkout@v4

.github/workflows/python-examples.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ env:
2121
GH_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }}
2222

2323
jobs:
24-
test_examples:
24+
tests:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ ubuntu-latest, windows-latest, macos-latest ]
28+
os: [ ubuntu, windows, macos ]
2929
release: [ stable, nightly ]
30-
runs-on: ${{ matrix.os }}
30+
runs-on: ${{ format('{0}-latest', inputs.os) }}
3131
steps:
3232
- name: Checkout GitHub repo
3333
uses: actions/checkout@v4
@@ -41,6 +41,19 @@ jobs:
4141
if: matrix.os != 'windows-latest'
4242
run: |
4343
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
44+
- name: Setup Chrome
45+
uses: browser-actions/setup-chrome@latest
46+
with:
47+
chrome-version: stable'
48+
- name: Setup Firefox
49+
uses: abhi1693/[email protected]
50+
with:
51+
browser: firefox
52+
version: latest
53+
- name: Setup Edge
54+
uses: browser-actions/setup-edge@latest
55+
with:
56+
edge-version: stable
4457
- name: Start Xvfb
4558
if: matrix.os == 'ubuntu-latest'
4659
run: Xvfb :99 &

.github/workflows/ruby-examples.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ env:
2121
GH_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }}
2222

2323
jobs:
24-
test_examples:
24+
tests:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ ubuntu-latest, windows-latest, macos-latest ]
28+
os: [ ubuntu, windows, macos ]
2929
release: [ stable, nightly ]
30-
runs-on: ${{ matrix.os }}
30+
runs-on: ${{ format('{0}-latest', inputs.os) }}
3131
steps:
3232
- name: Checkout GitHub repo
3333
uses: actions/checkout@v4
@@ -41,6 +41,19 @@ jobs:
4141
if: matrix.os != 'windows-latest'
4242
run: |
4343
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
44+
- name: Setup Chrome
45+
uses: browser-actions/setup-chrome@latest
46+
with:
47+
chrome-version: stable'
48+
- name: Setup Firefox
49+
uses: abhi1693/[email protected]
50+
with:
51+
browser: firefox
52+
version: latest
53+
- name: Setup Edge
54+
uses: browser-actions/setup-edge@latest
55+
with:
56+
edge-version: stable
4457
- name: Start Xvfb
4558
if: matrix.os == 'ubuntu-latest'
4659
run: Xvfb :99 &

0 commit comments

Comments
 (0)