Newer
Older
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
stages:
- install
- test
.junit_template: &junit_definition
artifacts:
reports:
junit: "junit*.xml"
install_py37:
stage: install
image: python:3.7-buster
script:
- apt-get -y update
- python setup.py install
- eossr-codemeta2zenodo --help
- eossr-codemeta2zenodo --input_codemeta_file ./codemeta.json
- cat .zenodo.json
only:
- branches
test_py37:
stage: test
image: python:3.7-buster
script:
- apt-get -y update
- pip install pytest pytest-cov
- pip install -e .
- pytest eossr/
--junitxml=junit_py37.xml
--color=yes
--verbose
--cov=eossr
--cov-report=xml
--cov-report=term
<<: *junit_definition