Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: mac build bots (#734)

Joel Einbindera4d0187cb8f4
diff --git a/.github/workflows/chromium-mac.yml b/.github/workflows/chromium-mac.yml
new file mode 100644
index 0000000000..438929e9fa
--- /dev/null
+++ b/.github/workflows/chromium-mac.yml
@@ -0,0 +1,32 @@
+name: "tests: Mac + CR"
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+
+ runs-on: macos
+
+ strategy:
+ matrix:
+ node-version: [12.x]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+
+ - name: npm install, and test
+ run: |
+ npm install
+ npm run ctest
+ env:
+ CI: true
diff --git a/.github/workflows/firefox-mac.yml b/.github/workflows/firefox-mac.yml
new file mode 100644
index 0000000000..9d70c398be
--- /dev/null
+++ b/.github/workflows/firefox-mac.yml
@@ -0,0 +1,32 @@
+name: "tests: Mac + FF"
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+
+ runs-on: macos
+
+ strategy:
+ matrix:
+ node-version: [12.x]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+
+ - name: npm install, and test
+ run: |
+ npm install
+ npm run ftest
+ env:
+ CI: true
diff --git a/.github/workflows/webkit-mac.yml b/.github/workflows/webkit-mac.yml
new file mode 100644
index 0000000000..f05f4f308f
--- /dev/null
+++ b/.github/workflows/webkit-mac.yml
@@ -0,0 +1,32 @@
+name: "tests: Mac + WK"
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+
+ runs-on: macos
+
+ strategy:
+ matrix:
+ node-version: [12.x]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+
+ - name: npm install, and test
+ run: |
+ npm install
+ npm run wtest
+ env:
+ CI: true