Skip to content

Commit 5850afa

Browse files
committed
workaround chromes conflicts
1 parent b5f118a commit 5850afa

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/integration-tests-h2.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676

7777
- name: Install Chrome
7878
uses: browser-actions/setup-chrome@v2.1.1 # https://github.com/browser-actions/setup-chrome
79+
id: setup-chrome
7980
with:
8081
chrome-version: '147.0.7727.56' # Must match version in mise.toml
8182
install-dependencies: false # Default: false
@@ -93,8 +94,14 @@ jobs:
9394
run: |
9495
robot --version || :
9596
chrome --version
97+
google-chrome --version
9698
chromedriver --version
9799
100+
# Workaround: chrome installed by setup-chrome clashes with chrome bundled with runner
101+
# See: https://github.com/browser-actions/setup-chrome/issues/619
102+
- name: Override system Chrome
103+
run: sudo ln -svf ${{steps.setup-chrome.outputs.chrome-path}} /usr/bin/google-chrome
104+
98105
- name: Restore existing cache
99106
uses: actions/cache@v5.0.2 # https://github.com/actions/cache
100107
with:

.github/workflows/integration-tests-mysql.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686

8787
- name: Install Chrome
8888
uses: browser-actions/setup-chrome@v2.1.1 # https://github.com/browser-actions/setup-chrome
89+
id: setup-chrome
8990
with:
9091
chrome-version: '147.0.7727.56' # Must match version in mise.toml
9192
install-dependencies: false # Default: false
@@ -103,8 +104,14 @@ jobs:
103104
run: |
104105
robot --version || :
105106
chrome --version
107+
google-chrome --version
106108
chromedriver --version
107109
110+
# Workaround: chrome installed by setup-chrome clashes with chrome bundled with runner
111+
# See: https://github.com/browser-actions/setup-chrome/issues/619
112+
- name: Override system Chrome
113+
run: sudo ln -svf ${{steps.setup-chrome.outputs.chrome-path}} /usr/bin/google-chrome
114+
108115
- name: Restore existing cache
109116
uses: actions/cache@v5.0.2 # https://github.com/actions/cache
110117
with:

.github/workflows/integration-tests-postgres.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777

7878
- name: Install Chrome
7979
uses: browser-actions/setup-chrome@v2.1.1 # https://github.com/browser-actions/setup-chrome
80+
id: setup-chrome
8081
with:
8182
chrome-version: '147.0.7727.56' # Must match version in mise.toml
8283
install-dependencies: false # Default: false
@@ -94,8 +95,14 @@ jobs:
9495
run: |
9596
robot --version || :
9697
chrome --version
98+
google-chrome --version
9799
chromedriver --version
98100
101+
# Workaround: chrome installed by setup-chrome clashes with chrome bundled with runner
102+
# See: https://github.com/browser-actions/setup-chrome/issues/619
103+
- name: Override system Chrome
104+
run: sudo ln -svf ${{steps.setup-chrome.outputs.chrome-path}} /usr/bin/google-chrome
105+
99106
- name: Restore existing cache
100107
uses: actions/cache@v5.0.2 # https://github.com/actions/cache
101108
with:

0 commit comments

Comments
 (0)