Chrome and Chromedriver 115 (#1967) #992
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: Test Firefox/Chrome beta | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install Firefox beta | |
uses: browser-actions/setup-firefox@latest | |
with: | |
firefox-version: 'latest-beta' | |
- name: Install Chrome beta | |
uses: browser-actions/setup-chrome@latest | |
with: | |
chrome-version: beta | |
- name: Install Browsertime | |
run: npm ci | |
- name: Install dependencies | |
run: | | |
sudo apt-get install net-tools -y | |
sudo snap install ffmpeg | |
sudo snap alias ffmpeg.ffprobe ffprobe | |
python -m pip install --upgrade --user pip | |
python -m pip install --upgrade --user setuptools | |
python -m pip install --user pyssim | |
python -m pip --version | |
python -m pip show Pillow | |
python -m pip show pyssim | |
python -m pip install virtualenv | |
sudo modprobe ifb numifbs=1 | |
- name: Browser versions | |
run: | | |
chrome --version | |
firefox --version | |
- name: Test Chrome Beta | |
run: ./bin/browsertime.js -b chrome -n 1 https://www.sitespeed.io --connectivity.profile cable --connectivity.engine throttle --xvfb --chrome.binaryPath $(which chrome) | |
- name: Test Firefox Beta | |
run: ./bin/browsertime.js -b firefox -n 1 https://www.sitespeed.io --connectivity.profile cable --connectivity.engine throttle --xvfb |