diff --git a/.drone.jsonnet b/.drone.jsonnet index d3e4bdb..9694d03 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -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', diff --git a/.drone.yml b/.drone.yml index 65e56ee..d43175d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ... diff --git a/pyproject.toml b/pyproject.toml index 4d9fd92..9a3408c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ]