Commit d3159b21 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

.gitlab-ci.yml: a demo pipeline with allow_failure

see #27
parent 7305d000
Pipeline #408770 passed with stages
in 1 minute and 16 seconds
......@@ -2,6 +2,7 @@
stages:
- unit
- demo
- demo_a
- coverage
unit:
......@@ -24,6 +25,20 @@ demo:
tags:
- cidocker
demo_a:
image: python:3.7-slim
before_script:
- apt-get update
- apt-get install -y bsdmainutils
stage: demo_a
script: python3 src/should.py --only-a --fail-a --xml demo/*.should
allow_failure: true
artifacts:
reports:
junit: should.xml
tags:
- cidocker
coverage:
image: python:3.7-slim
stage: coverage
......
Supports Markdown
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