mirror of
https://github.com/thegeeklab/corenetworks.git
synced 2024-11-13 00:10:42 +00:00
switch to codecov plugin
This commit is contained in:
parent
2503f01a28
commit
7b13ebffdd
@ -55,15 +55,11 @@ local PipelineTest = {
|
||||
PythonVersion(pyversion='3.8'),
|
||||
{
|
||||
name: 'codecov',
|
||||
image: 'python:3.8',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
CODECOV_TOKEN: { from_secret: 'codecov_token' },
|
||||
image: 'plugins/codecov',
|
||||
settings: {
|
||||
token: { from_secret: 'codecov_token' },
|
||||
required: true,
|
||||
},
|
||||
commands: [
|
||||
'pip install codecov',
|
||||
'codecov --required',
|
||||
],
|
||||
depends_on: [
|
||||
'python27',
|
||||
'python35',
|
||||
|
13
.drone.yml
13
.drone.yml
@ -87,14 +87,11 @@ steps:
|
||||
- clone
|
||||
|
||||
- name: codecov
|
||||
image: python:3.8
|
||||
commands:
|
||||
- pip install codecov
|
||||
- codecov --required
|
||||
environment:
|
||||
CODECOV_TOKEN:
|
||||
image: plugins/codecov
|
||||
settings:
|
||||
required: true
|
||||
token:
|
||||
from_secret: codecov_token
|
||||
PY_COLORS: 1
|
||||
depends_on:
|
||||
- python27
|
||||
- python35
|
||||
@ -306,6 +303,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 0ac85b54a6ded93501f7b752a640e7a0fffc7bca700473c850d767d2cc5dda87
|
||||
hmac: d201c1b56b91f50f5992cdbdfbde2d32829dd4cac836b697933d1b0876316153
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user