optimize test pipeline
This commit is contained in:
@@ -1,17 +0,0 @@
|
|||||||
when:
|
|
||||||
event: [push, pull_request]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
e2e-build:
|
|
||||||
image: rust:1
|
|
||||||
commands:
|
|
||||||
- cargo build
|
|
||||||
|
|
||||||
e2e-test:
|
|
||||||
image: node:24
|
|
||||||
directory: e2e
|
|
||||||
commands:
|
|
||||||
- apt-get update
|
|
||||||
- apt-get install -y --no-install-recommends ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libcups2 libdbus-1-3 libdrm2 libgbm1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libx11-6 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 libxrandr2 xdg-utils
|
|
||||||
- npm install && npx playwright install chromium
|
|
||||||
- npx playwright test
|
|
||||||
@@ -6,3 +6,12 @@ steps:
|
|||||||
image: rust:1
|
image: rust:1
|
||||||
commands:
|
commands:
|
||||||
- cargo test --all
|
- cargo test --all
|
||||||
|
|
||||||
|
e2e-test:
|
||||||
|
image: node:24
|
||||||
|
directory: e2e
|
||||||
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y --no-install-recommends ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libcups2 libdbus-1-3 libdrm2 libgbm1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libx11-6 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 libxrandr2 xdg-utils
|
||||||
|
- npm install && npx playwright install chromium
|
||||||
|
- npx playwright test
|
||||||
|
|||||||
Reference in New Issue
Block a user