mirror of https://github.com/yewstack/yew
Fix benchmark (#3827)
This commit is contained in:
parent
ecd4832670
commit
b6232af5b1
|
@ -118,11 +118,12 @@ jobs:
|
||||||
npm start &
|
npm start &
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
|
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
|
||||||
|
- run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
|
||||||
|
|
||||||
- name: Run js-framework-benchmark/webdriver-ts npm run bench
|
- name: Run js-framework-benchmark/webdriver-ts npm run bench
|
||||||
working-directory: js-framework-benchmark/webdriver-ts
|
working-directory: js-framework-benchmark/webdriver-ts
|
||||||
run: xvfb-run npm run bench -- --framework keyed/yew keyed/yew-hooks --runner playwright --chromeBinary "${{ steps.setup-chrome.outputs.chrome-path }}"
|
run: xvfb-run npm run bench -- --framework keyed/yew keyed/yew-hooks --runner playwright --chromeBinary "${{ steps.setup-chrome.outputs.chrome-path }}"
|
||||||
env:
|
|
||||||
CHROME_DEVEL_SANDBOX: ${{ steps.setup-chrome.outputs.chrome-path }}/../chrome_sandbox
|
|
||||||
|
|
||||||
- name: Transform results to be fit for display benchmark-action/github-action-benchmark@v1
|
- name: Transform results to be fit for display benchmark-action/github-action-benchmark@v1
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue