-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parallelize conformance test runs in CI (#1110)
- Loading branch information
Showing
4 changed files
with
164 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: Node Conformance | ||
on: | ||
push: | ||
branches: [main] | ||
tags: ['v*'] | ||
pull_request: | ||
branches: [main] | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
node: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
node-version: [18, 20, 21] | ||
steps: | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.tmp | ||
.tmp | ||
key: ${{ runner.os }}-connect-node-conformance-${{ hashFiles('Makefile') }} | ||
restore-keys: | | ||
${{ runner.os }}-connect-node-conformance- | ||
- name: testconnectnodeconformance | ||
run: make testconnectnodeconformance | ||
fastify: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
node-version: [18, 20, 21] | ||
steps: | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.tmp | ||
.tmp | ||
key: ${{ runner.os }}-connect-fastify-conformance-${{ hashFiles('Makefile') }} | ||
restore-keys: | | ||
${{ runner.os }}-connect-fastify-conformance- | ||
- name: testconnectfastifyconformance | ||
run: make testconnectfastifyconformance | ||
express: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
node-version: [18, 20, 21] | ||
steps: | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.tmp | ||
.tmp | ||
key: ${{ runner.os }}-connect-express-conformance-${{ hashFiles('Makefile') }} | ||
restore-keys: | | ||
${{ runner.os }}-connect-express-conformance- | ||
- name: testconnectexpressconformance | ||
run: make testconnectexpressconformance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Web Conformance | ||
on: | ||
push: | ||
branches: [main] | ||
tags: ['v*'] | ||
pull_request: | ||
branches: [main] | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
chrome: | ||
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-chrome-conformance-${{ hashFiles('Makefile') }} | ||
restore-keys: | | ||
${{ runner.os }}-connect-web-chrome-conformance- | ||
- name: testwebchromeconformance | ||
run: make testwebchromeconformance | ||
firefox: | ||
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 | ||
safari: | ||
runs-on: macos-12 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters