mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
tests: Include xvfb into the Docker image
This commit is contained in:
parent
24c2a8266b
commit
21889a2be2
3 changed files with 3 additions and 16 deletions
|
@ -2,7 +2,7 @@ FROM fedora:27
|
|||
ARG TASK_VERSION
|
||||
|
||||
RUN dnf update -y
|
||||
RUN dnf install procps-ng psmisc which vim curl git gvim gcc gcc-c++ cmake make gnutls-devel libuuid-devel -y
|
||||
RUN dnf install procps-ng psmisc which vim curl git gvim gcc gcc-c++ cmake make gnutls-devel libuuid-devel xorg-x11-server-Xvfb -y
|
||||
|
||||
# Setup language environment
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
@ -34,4 +34,4 @@ RUN pip3 install -r requirements.txt
|
|||
RUN mkdir /root/.vim/bundle/taskwiki
|
||||
WORKDIR /root/.vim/bundle/taskwiki
|
||||
|
||||
CMD ["sh", "-c", "python3 -m pytest -vv tests/"]
|
||||
CMD xvfb-run python3 -m pytest -vv tests/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue