-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
39 lines (34 loc) · 755 Bytes
/
.gitlab-ci.yml
File metadata and controls
39 lines (34 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
image: continuumio/miniconda3:latest
stages:
- test
- coverage
before_script:
- conda --version # Print out conda version for debugging
- cd Code
- conda init bash
- source ~/.bashrc
- conda env create -f conda-env.yml
- conda activate conformance-checking
test:
stage: test
script:
- tox
coverage:
stage: coverage
script:
- cd ..
- pytest --doctest-modules --cov=. --cov-report=xml
artifacts:
reports:
cobertura: coverage.xml
# Example template for automatic documentation creation. Not implemented yet.
# pages:
# script:
# - pip install sphinx sphinx-rtd-theme
# - cd doc ; make html
# - mv build/html/ ../public/
# artifacts:
# paths:
# - public
# only:
# - master