Skip to content

Run Firefox and Chrome tests on Mac. #2319

Run Firefox and Chrome tests on Mac.

Run Firefox and Chrome tests on Mac. #2319

Workflow file for this run

name: Windows Edge
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install Browsertime
run: npm ci
- name: Install dependencies
run: |
choco install ffmpeg
choco outdated
choco install python
choco install microsoft-edge
choco install googlechrome
choco install firefox
python -m pip install --upgrade --user pip
python -m pip install --upgrade --user setuptools
python -m pip install --user pyssim OpenCV-Python Numpy
python -m pip --version
python -m pip show Pillow
python -m pip show pyssim
shell: cmd
- name: Start local HTTP server
run: (npm run start-server&)
- name: Run Edge test
run: node bin/browsertime.js -b edge -n 1 --screenshot https://www.sitespeed.io/
shell: cmd
- name: Run Edge test with video
run: node bin/browsertime.js -b edge -n 1 --screenshot --video --visualMetrics --viewPort 1000x600 https://www.sitespeed.io/
shell: cmd
- name: Run Chrome test
run: node bin/browsertime.js -b chrome -n 1 https://www.sitespeed.io/
shell: cmd
- name: Run Chrome test for multi pages
run: node bin/browsertime.js -b chrome -n 1 test/data/navigationscript/simple.cjs
shell: cmd
- name: Run Firefox test
run: node bin/browsertime.js -b firefox -n 1 https://www.sitespeed.io/ --skipHar
shell: cmd
- name: Run Firefox test with MOZ log
run: node bin/browsertime.js -b firefox -n 1 https://www.sitespeed.io/ --skipHar --firefox.collectMozLog
shell: cmd