Skip to content

Commit 10dfd38

Browse files
committed
ci: run linux runtime checks under xvfb
1 parent cf434b4 commit 10dfd38

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
libwebkit2gtk-4.1-dev \
6767
librsvg2-dev \
6868
patchelf \
69+
xvfb \
6970
wget
7071
- uses: dtolnay/rust-toolchain@stable
7172
with:
@@ -85,9 +86,9 @@ jobs:
8586
- run: cargo check --manifest-path apps/server/Cargo.toml
8687
- run: cargo test --manifest-path apps/server/Cargo.toml
8788
- run: pnpm pack:local
88-
- run: pnpm test:smoke
89+
- run: xvfb-run -a pnpm test:smoke
8990
- run: npx playwright install --with-deps chromium
90-
- run: pnpm test:e2e:release
91+
- run: xvfb-run -a pnpm test:e2e:release
9192
- uses: actions/upload-artifact@v4
9293
if: success()
9394
with:

0 commit comments

Comments
 (0)