Skip to content

Commit f0721e5

Browse files
committed
Install xvfb
1 parent d8f4889 commit f0721e5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/benchmark.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ jobs:
3131
repository: krausest/js-framework-benchmark
3232
path: "js-framework-benchmark"
3333

34+
- name: Install xvfb
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install xvfb
38+
3439
- name: Setup toolchain
3540
uses: dtolnay/rust-toolchain@master
3641
with:
@@ -111,7 +116,7 @@ jobs:
111116
112117
- name: js-framework-benchmark/webdriver-ts npm run bench
113118
working-directory: js-framework-benchmark/webdriver-ts
114-
run: npm run tsbench -- --framework keyed/yew keyed/yew-hooks --runner playwright
119+
run: xvfb-run npm run tsbench -- --framework keyed/yew keyed/yew-hooks --runner playwright
115120

116121
- name: transform results to be fit for display benchmark-action/github-action-benchmark@v1
117122
run: |

0 commit comments

Comments
 (0)