Skip to content

Commit

Permalink
Browsers
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Ayers <[email protected]>
  • Loading branch information
smaye81 committed Jun 17, 2024
1 parent 76b157e commit 9755053
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 7 deletions.
42 changes: 37 additions & 5 deletions .github/workflows/conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
${{ runner.os }}-connect-express-conformance-
- name: testconnectexpressconformance
run: make testconnectexpressconformance
web:
webchrome:
runs-on: ubuntu-22.04
steps:
- name: checkout
Expand All @@ -86,8 +86,40 @@ jobs:
path: |
~/.tmp
.tmp
key: ${{ runner.os }}-connect-web-conformance-${{ hashFiles('Makefile') }}
key: ${{ runner.os }}-connect-web-chrome-conformance-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-connect-web-conformance-
- name: testwebconformance
run: make testwebconformance
${{ runner.os }}-connect-web-chrome-conformance-
- name: testwebchromeconformance
run: make testwebchromeconformance
webfirefox:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: cache
uses: actions/cache@v4
with:
path: |
~/.tmp
.tmp
key: ${{ runner.os }}-connect-web-firefox-conformance-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-connect-web-firefox-conformance-
- name: testwebfirefoxconformance
run: make testwebfirefoxconformance
websafari:
runs-on: macos-11
steps:
- name: checkout
uses: actions/checkout@v4
- name: cache
uses: actions/cache@v4
with:
path: |
~/.tmp
.tmp
key: ${{ runner.os }}-connect-web-safari-conformance-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-connect-web-safari-conformance-
- name: testwebsafariconformance
run: make testwebsafariconformance
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,18 @@ testconnectfastifyconformance: $(BUILD)/connect-fastify
npm run -w packages/connect-fastify conformance

.PHONY: testwebconformance
testwebconformance: $(BUILD)/connect-web
testwebconformance: testwebchromeconformance testwebfirefoxconformance testwebsafariconformance

.PHONY: testwebchromeconformance
testwebchromeconformance: $(BUILD)/connect-web
npm run -w packages/connect-web conformance:client:chrome

.PHONY: testwebfirefoxconformance
testwebfirefoxconformance: $(BUILD)/connect-web
npm run -w packages/connect-web conformance:client:firefox
npm run -w packages/connect-web conformance:client:node

.PHONY: testwebsafariconformance
testwebsafariconformance: $(BUILD)/connect-web
@# Requires one to enable the 'Allow Remote Automation' option in Safari's Develop menu.
ifeq ($(NODE_OS),darwin)
npm run -w packages/connect-web conformance:client:safari
Expand Down

0 comments on commit 9755053

Please sign in to comment.