mirror of
https://github.com/thegeeklab/corenetworks.git
synced 2024-11-22 07:20:39 +00:00
switch back to python codecov
This commit is contained in:
parent
7b13ebffdd
commit
3187862524
@ -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',
|
||||||
|
23
.drone.yml
23
.drone.yml
@ -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
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user