Skip to content

Commit 86ae474

Browse files
committed
Use xvfb-run
1 parent 3a51023 commit 86ae474

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ default:
55
script:
66
- npm install
77
- npm run build -- --noEmit
8-
- xvfb-run -a npm run test:ci
8+
- xvfb-run --server-args="-screen 0 1024x768x24" npm run test:ci
99
after_script:
1010
- cat ./coverage/lcov.info | codacy-coverage --language=typescript;

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN apt-get update \
77
&& apt-get update \
88
&& apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \
99
--no-install-recommends \
10-
&& apt-get install xvfb \
10+
&& apt-get install -y xvfb \
1111
&& rm -rf /var/lib/apt/lists/*
1212

1313
ENV CI=1

0 commit comments

Comments
 (0)