Skip to content
Snippets Groups Projects
Commit 6576b78e authored by Henrik tom Woerden's avatar Henrik tom Woerden
Browse files

Reactivate qunit tests

parent 44c249b2
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,15 @@ stages: ...@@ -42,7 +42,15 @@ stages:
- test - test
- deploy - deploy
# run qunit tests and pylint # run pylint
test:
tags: [ docker ]
stage: test
script:
- make pylint
allow_failure: true
# run qunit tests
test: test:
tags: [ docker ] tags: [ docker ]
stage: test stage: test
...@@ -51,8 +59,8 @@ test: ...@@ -51,8 +59,8 @@ test:
- public/qunit.log - public/qunit.log
- screenlog.* - screenlog.*
script: script:
- make pylint
- make run-qunit - make run-qunit
allow_failure: true
# Trigger building of server image and integration tests # Trigger building of server image and integration tests
trigger_build: trigger_build:
......
...@@ -73,7 +73,8 @@ run-qunit: ...@@ -73,7 +73,8 @@ run-qunit:
screen -L -S caosdb-webui-test -t server -d -m -A make run-test-server screen -L -S caosdb-webui-test -t server -d -m -A make run-test-server
# start firefox # 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 # wait until server stops
while [ 1 -eq 1 ]; do \ while [ 1 -eq 1 ]; do \
......
FROM debian:latest FROM debian:latest
RUN apt-get update && \ RUN apt-get update && \
apt-get install firefox-esr pylint3 python3-pip python3-httpbin git \ 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 && \ RUN git clone -b dev https://gitlab.gwdg.de/bmp-caosdb/caosdb-pylib.git && \
cd caosdb-pylib && pip3 install . cd caosdb-pylib && pip3 install .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment