From 0f9c6c2e2286bcb3c6356b5ff90bf2bca6238200 Mon Sep 17 00:00:00 2001 From: soulgalore Date: Fri, 21 Jul 2023 07:21:25 +0200 Subject: [PATCH] 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. https://github.com/sitespeedio/browsertime/issues/1968 --- .github/workflows/mac.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/mac.yml diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml new file mode 100644 index 000000000..db17ec42c --- /dev/null +++ b/.github/workflows/mac.yml @@ -0,0 +1,34 @@ +name: OSX Chrome and Firefox +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 + - 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/ + \ No newline at end of file