-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add benchmark GitHub workflow (#2234)
Co-authored-by: Kevin Ingersoll <[email protected]>
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Benchmarks | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
benchmarks: | ||
name: Run benchmarks | ||
runs-on: ubuntu-latest-16-cores | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup | ||
uses: ./.github/actions/setup | ||
|
||
- name: Build | ||
uses: ./.github/actions/build | ||
|
||
- name: Install end-to-end testing dependencies | ||
working-directory: ./e2e | ||
run: pnpm install | ||
|
||
- name: Clean end-to-end project | ||
working-directory: ./e2e | ||
run: pnpm run clean | ||
|
||
- name: Build end-to-end project | ||
working-directory: ./e2e | ||
run: pnpm run build | ||
|
||
- name: Generate test data | ||
working-directory: ./e2e | ||
run: pnpm run generate-test-data-records | ||
|
||
- name: Run benchmarks | ||
run: pnpm run bench |
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"scripts": { | ||
"build": "pnpm recursive run build", | ||
"clean": "pnpm recursive run clean", | ||
"generate-test-data-records": "pnpm run --filter=test-data generate-test-data-records", | ||
"playwright-install": "pnpx [email protected] install --with-deps chromium", | ||
"test": "pnpm recursive run test", | ||
"test:ci": "pnpm run test" | ||
|
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