Skip to content

Commit 3a51023

Browse files
committed
Add xvfb
1 parent 3f08d70 commit 3a51023

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-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-
- npm run test:ci
8+
- xvfb-run -a npm run test:ci
99
after_script:
1010
- cat ./coverage/lcov.info | codacy-coverage --language=typescript;

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ 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 \
1011
&& rm -rf /var/lib/apt/lists/*
1112

1213
ENV CI=1
13-
ENV NO_SANDBOX=1
14+
ENV NO_SANDBOX=1

0 commit comments

Comments
 (0)