Skip to content

Commit

Permalink
Add Webkit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarocque committed Sep 5, 2024
1 parent 15c36cc commit 78bd41d
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 2 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/test-changed-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

name: Test Auth

on: pull_request
on: push

env:
# make chromedriver detect installed Chrome version and download the corresponding driver
Expand Down Expand Up @@ -102,3 +102,27 @@ jobs:
run: xvfb-run yarn test:changed auth
env:
BROWSERS: 'Firefox'

test-webkit:
name: Test Auth on Webkit if Changed
runs-on: macos-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node (20)
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Test setup and yarn install
run: |
cp config/ci.config.json config/project.json
yarn
- name: build
run: yarn build:changed auth
- name: Run tests on changed packages
run: yarn test:changed auth
env:
BROWSERS: 'WebkitHeadless'
27 changes: 26 additions & 1 deletion .github/workflows/test-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

name: Test Modified Packages

on: pull_request
on: push

env:
# Bump Node memory limit
Expand Down Expand Up @@ -78,3 +78,28 @@ jobs:
run: xvfb-run yarn test:changed core
env:
BROWSERS: 'Firefox'


test-webkit:
name: Test Packages With Changed Files in Webkit
runs-on: macos-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node (20)
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Test setup and yarn install
run: |
cp config/ci.config.json config/project.json
yarn
- name: build
run: yarn build:changed core
- name: Run tests on changed packages
run: yarn test:changed core
env:
BROWSERS: 'WebkitHeadless'

0 comments on commit 78bd41d

Please sign in to comment.