Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Firefox and Chrome tests on Mac. #1970

Merged
merged 3 commits into from
Jul 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/