Modify pipeline.yml

pull/1076/head
Dmitry Pavlov 5 years ago
parent dad8d55a29
commit 833ce4614e

@ -2,14 +2,19 @@ steps:
- label: 'Build image'
command: docker build --tag diagrams:1.0 -f ./docker/dev/Dockerfile .
- wait
- label: 'Run container'
command: docker run -d -it --name diagrams --mount type=bind,source="$(pwd)",target=/usr/src/diagrams diagrams:1.0
- wait
- label: 'Run tests'
command: docker exec diagrams python -m unittest tests/*.py -v
- wait
- label: 'Autogen classes'
command: docker exec diagrams ./autogen.sh
- wait: ~
continue_on_failure: true
- label: 'Cleanup'
command: docker rm --force diagrams
Loading…
Cancel
Save