mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-22 01:10:39 +00:00
ci: switch to new codecov uploader (#393)
This commit is contained in:
parent
e58de90d69
commit
006360cc2c
@ -81,14 +81,12 @@ local PipelineTest = {
|
|||||||
PythonVersion(pyversion='3.11'),
|
PythonVersion(pyversion='3.11'),
|
||||||
{
|
{
|
||||||
name: 'codecov',
|
name: 'codecov',
|
||||||
image: 'python:3.11',
|
image: 'thegeeklab/codecov',
|
||||||
environment: {
|
environment: {
|
||||||
PY_COLORS: 1,
|
|
||||||
CODECOV_TOKEN: { from_secret: 'codecov_token' },
|
CODECOV_TOKEN: { from_secret: 'codecov_token' },
|
||||||
},
|
},
|
||||||
commands: [
|
commands: [
|
||||||
'pip install codecov -qq',
|
'codecov --nonZero',
|
||||||
'codecov --required -X gcov',
|
|
||||||
],
|
],
|
||||||
depends_on: [
|
depends_on: [
|
||||||
'python37-pytest',
|
'python37-pytest',
|
||||||
|
@ -120,14 +120,12 @@ steps:
|
|||||||
- fetch
|
- fetch
|
||||||
|
|
||||||
- name: codecov
|
- name: codecov
|
||||||
image: python:3.11
|
image: thegeeklab/codecov
|
||||||
commands:
|
commands:
|
||||||
- pip install codecov -qq
|
- codecov --nonZero
|
||||||
- codecov --required -X gcov
|
|
||||||
environment:
|
environment:
|
||||||
CODECOV_TOKEN:
|
CODECOV_TOKEN:
|
||||||
from_secret: codecov_token
|
from_secret: codecov_token
|
||||||
PY_COLORS: 1
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- python37-pytest
|
- python37-pytest
|
||||||
- python38-pytest
|
- python38-pytest
|
||||||
@ -449,6 +447,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 90ec9fda47481ade8b36802ec1c9ff733ae7e77ec7b0b7b7d916de7aa1b7578f
|
hmac: c738c9bc34f7be21d69926ddc23004af9f55e162b8221423e70008c6441c653c
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -70,8 +70,7 @@ skip_glob = ["**/.env*", "**/env/*", "**/.venv/*", "**/docs/*"]
|
|||||||
addopts = "prometheuspvesd --cov=prometheuspvesd --cov-report=xml:coverage.xml --cov-report=term --no-cov-on-fail"
|
addopts = "prometheuspvesd --cov=prometheuspvesd --cov-report=xml:coverage.xml --cov-report=term --no-cov-on-fail"
|
||||||
filterwarnings = [
|
filterwarnings = [
|
||||||
"ignore::FutureWarning",
|
"ignore::FutureWarning",
|
||||||
"ignore:.*distutils.*:DeprecationWarning",
|
"ignore::DeprecationWarning",
|
||||||
"ignore:.*collections.*:DeprecationWarning",
|
|
||||||
"ignore:.*pep8.*:FutureWarning",
|
"ignore:.*pep8.*:FutureWarning",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user