Commit 6576b78e authored by Henrik tom Woerden's avatar Henrik tom Woerden

Reactivate qunit tests

parent 44c249b2
......@@ -42,7 +42,15 @@ stages:
- test
- deploy
# run qunit tests and pylint
# run pylint
test:
tags: [ docker ]
stage: test
script:
- make pylint
allow_failure: true
# run qunit tests
test:
tags: [ docker ]
stage: test
......@@ -51,8 +59,8 @@ test:
- public/qunit.log
- screenlog.*
script:
- make pylint
- make run-qunit
allow_failure: true
# Trigger building of server image and integration tests
trigger_build:
......
......@@ -73,7 +73,8 @@ run-qunit:
screen -L -S caosdb-webui-test -t server -d -m -A make run-test-server
# start firefox
screen -S caosdb-webui-test -X screen -t firefox $(XVFB-RUN) firefox "http://localhost:$(PORT)/webinterface/index.html?loggerPort=$(PORT)"
screen -S caosdb-webui-test -X screen -t firefox $(XVFB-RUN) firefox \
"http://localhost:$(PORT)/webinterface/index.html?loggerPort=$(PORT)"
# wait until server stops
while [ 1 -eq 1 ]; do \
......
FROM debian:latest
RUN apt-get update && \
apt-get install firefox-esr pylint3 python3-pip python3-httpbin git \
curl -y
curl screen xvfb unzip -y
RUN git clone -b dev https://gitlab.gwdg.de/bmp-caosdb/caosdb-pylib.git && \
cd caosdb-pylib && pip3 install .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment