ci: switch to new codecov uploader (#393)

This commit is contained in:
Robert Kaussow 2023-04-17 16:09:48 +02:00 committed by GitHub
parent e58de90d69
commit 006360cc2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 11 deletions

View File

@ -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',

View File

@ -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
...

View File

@ -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",
]