0
0
mirror of https://github.com/thegeeklab/corenetworks.git synced 2024-11-14 16:50:39 +00:00

switch back to python codecov

This commit is contained in:
Robert Kaussow 2020-04-04 14:16:11 +02:00
parent 7b13ebffdd
commit 3187862524
2 changed files with 22 additions and 15 deletions

View File

@ -7,7 +7,7 @@ local PythonVersion(pyversion='2.7') = {
commands: [ commands: [
'pip install -r test-requirements.txt -qq', 'pip install -r test-requirements.txt -qq',
'pip install -qq .', 'pip install -qq .',
'pytest --cov=corenetworks/ --no-cov-on-fail', 'pytest --cov=corenetworks --no-cov-on-fail',
], ],
depends_on: [ depends_on: [
'clone', 'clone',
@ -55,11 +55,15 @@ local PipelineTest = {
PythonVersion(pyversion='3.8'), PythonVersion(pyversion='3.8'),
{ {
name: 'codecov', name: 'codecov',
image: 'plugins/codecov', image: 'python:3.8',
settings: { environment: {
token: { from_secret: 'codecov_token' }, PY_COLORS: 1,
required: true, CODECOV_TOKEN: { from_secret: 'codecov_token' },
}, },
commands: [
'pip install codecov -qq',
'codecov --required -X gcov',
],
depends_on: [ depends_on: [
'python27', 'python27',
'python35', 'python35',

View File

@ -36,7 +36,7 @@ steps:
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
- pip install -qq . - pip install -qq .
- pytest --cov=corenetworks/ --no-cov-on-fail - pytest --cov=corenetworks --no-cov-on-fail
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -47,7 +47,7 @@ steps:
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
- pip install -qq . - pip install -qq .
- pytest --cov=corenetworks/ --no-cov-on-fail - pytest --cov=corenetworks --no-cov-on-fail
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -58,7 +58,7 @@ steps:
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
- pip install -qq . - pip install -qq .
- pytest --cov=corenetworks/ --no-cov-on-fail - pytest --cov=corenetworks --no-cov-on-fail
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -69,7 +69,7 @@ steps:
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
- pip install -qq . - pip install -qq .
- pytest --cov=corenetworks/ --no-cov-on-fail - pytest --cov=corenetworks --no-cov-on-fail
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -80,18 +80,21 @@ steps:
commands: commands:
- pip install -r test-requirements.txt -qq - pip install -r test-requirements.txt -qq
- pip install -qq . - pip install -qq .
- pytest --cov=corenetworks/ --no-cov-on-fail - pytest --cov=corenetworks --no-cov-on-fail
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
- clone - clone
- name: codecov - name: codecov
image: plugins/codecov image: python:3.8
settings: commands:
required: true - pip install codecov -qq
token: - codecov --required -X gcov
environment:
CODECOV_TOKEN:
from_secret: codecov_token from_secret: codecov_token
PY_COLORS: 1
depends_on: depends_on:
- python27 - python27
- python35 - python35
@ -303,6 +306,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: d201c1b56b91f50f5992cdbdfbde2d32829dd4cac836b697933d1b0876316153 hmac: 168f1459ba1a231a59ac9439dc7d93f97c3c3abc45d741d40cfff61e9bd0a0d0
... ...