Skip to content

Commit 62d37ab

Browse files
committed
CI: Test updated version of Chrome install
1 parent 77c1b6c commit 62d37ab

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/php.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,21 @@ jobs:
100100
# with:
101101
# cmd: run encore dev
102102

103+
- name: Install chrome
104+
uses: browser-actions/setup-chrome@v1
105+
id: setup-chrome
106+
103107
- name: Start chrome
104108
run: |
105-
sudo apt-get install google-chrome-stable
106-
google-chrome --version
107-
google-chrome-stable --version
108-
google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
109-
whereis google-chrome-stable
109+
${{ steps.setup-chrome.outputs.chrome-path }} --version
110+
${{ steps.setup-chrome.outputs.chrome-path }} --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
110111
111112
# https://github.com/marketplace/actions/setup-chromedriver
112113
- name: Start chromedriver
113114
uses: nanasess/setup-chromedriver@master
114115
with:
115116
# Optional: do not specify to match Chrome's version
116-
chromedriver-version: '88.0.4324.96'
117+
chromedriver-version: '100.0.4896.60'
117118

118119
- run: |
119120
export DISPLAY=:99

0 commit comments

Comments
 (0)