Skip to content

Commit

Permalink
Run Firefox , Edge and Chrome tests on Mac. (#1970)
Browse files Browse the repository at this point in the history
* Run Firefox and Chrome tests on Mac.

It turns out the Chrome team didn't test the new Chrome/Chromedriver 115
setup so I guess it's best we do it for them.

#1968

* Also test on Edge
  • Loading branch information
soulgalore committed Jul 21, 2023
1 parent cd1d893 commit 8b4f448
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: OSX Chrome, Firefox and Edge
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: macos-13
timeout-minutes: 30
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 python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
brew update
brew install google-chrome
brew install --cask firefox
brew install --cask microsoft-edge
- name: Test Chrome
run: ./bin/browsertime.js -b chrome -n 1 https://www.sitespeed.io/
- name: Test Firefox
run: ./bin/browsertime.js -b firefox -n 1 https://www.sitespeed.io/
- name: Test Edge
run: ./bin/browsertime.js -b edge -n 1 https://www.sitespeed.io/

0 comments on commit 8b4f448

Please sign in to comment.