mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-21 17:00:40 +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'),
|
||||
{
|
||||
name: 'codecov',
|
||||
image: 'python:3.11',
|
||||
image: 'thegeeklab/codecov',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
CODECOV_TOKEN: { from_secret: 'codecov_token' },
|
||||
},
|
||||
commands: [
|
||||
'pip install codecov -qq',
|
||||
'codecov --required -X gcov',
|
||||
'codecov --nonZero',
|
||||
],
|
||||
depends_on: [
|
||||
'python37-pytest',
|
||||
|
@ -120,14 +120,12 @@ steps:
|
||||
- fetch
|
||||
|
||||
- name: codecov
|
||||
image: python:3.11
|
||||
image: thegeeklab/codecov
|
||||
commands:
|
||||
- pip install codecov -qq
|
||||
- codecov --required -X gcov
|
||||
- codecov --nonZero
|
||||
environment:
|
||||
CODECOV_TOKEN:
|
||||
from_secret: codecov_token
|
||||
PY_COLORS: 1
|
||||
depends_on:
|
||||
- python37-pytest
|
||||
- python38-pytest
|
||||
@ -449,6 +447,6 @@ depends_on:
|
||||
|
||||
---
|
||||
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"
|
||||
filterwarnings = [
|
||||
"ignore::FutureWarning",
|
||||
"ignore:.*distutils.*:DeprecationWarning",
|
||||
"ignore:.*collections.*:DeprecationWarning",
|
||||
"ignore::DeprecationWarning",
|
||||
"ignore:.*pep8.*:FutureWarning",
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user