Skip to content
Snippets Groups Projects
Verified Commit 2537f1b0 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

ENH: Makefile target for testing.

parent 234bd386
No related branches found
No related tags found
1 merge request!46TEST: Better exception message if server sends wrong XML.
......@@ -51,13 +51,14 @@ pylint:
- make lint
allow_failure: true
# run tests
test:
# run unit tests
unittest:
tags: [ docker ]
stage: test
needs: [ build-testenv ]
script:
- touch ~/.pycaosdb.ini
- tox -r
- make unittest
# Trigger building of server image and integration tests
trigger_build:
......@@ -96,6 +97,7 @@ build-testenv:
pages_prepare: &pages_prepare
tags: [ cached-dind ]
stage: deploy
needs: [ unittest ]
only:
refs:
- /^release-.*$/i
......
......@@ -42,3 +42,7 @@ style:
lint:
pylint --unsafe-load-any-extension=y -d all -e E,F src/caosdb/common
.PHONY: lint
unittest:
tox -r
.PHONY: unittest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment