Skip to content
Snippets Groups Projects
Unverified Commit fe23181c authored by Sebastian Höffner's avatar Sebastian Höffner
Browse files

Removing mount for app when testing, adding tests to CI.

parent 9be76b7a
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,13 @@ pipeline {
stages {
stage('build') {
steps {
sh 'docker build . -t web-openccg:$(git rev-parse --short HEAD)'
sh 'docker-compose build . -t web-openccg:$(git rev-parse --short HEAD)'
}
}
stage('test') {
steps {
sh 'docker run --rm -v "$(pwd)/tests":/tests web-openccg:$(git rev-parse --short HEAD) python3 -m unittest discover /tests'
sh 'docker-compose -p litmus run --rm -v $(pwd)/tests:/tests openccg python3 -m unittest discover /tests'
}
}
......
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