From 2f838e359c2e017a180f086e3c05201da4289eda Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 3 Jun 2020 14:21:31 +0200 Subject: [PATCH] use --cov-append --- .coveragerc | 2 -- .drone.jsonnet | 3 +-- .drone.yml | 11 +++++------ 3 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 65b8b2a..0000000 --- a/.coveragerc +++ /dev/null @@ -1,2 +0,0 @@ -[run] -parallel = True diff --git a/.drone.jsonnet b/.drone.jsonnet index 7032ab5..9a692a4 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -7,7 +7,7 @@ local PythonVersion(pyversion='3.5') = { commands: [ 'pip install -r dev-requirements.txt -qq', 'pip install -qq .', - 'pytest ansiblelater --cov=ansiblelater --no-cov-on-fail', + 'pytest ansiblelater --cov=ansiblelater --cov-append --no-cov-on-fail', 'ansible-later --help', 'ansible-later --version', ], @@ -63,7 +63,6 @@ local PipelineTest = { }, commands: [ 'pip install codecov -qq', - 'coverage combine', 'codecov --required -X gcov', ], depends_on: [ diff --git a/.drone.yml b/.drone.yml index 7331317..2b46c19 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,7 +36,7 @@ steps: commands: - pip install -r dev-requirements.txt -qq - pip install -qq . - - pytest ansiblelater --cov=ansiblelater --no-cov-on-fail + - pytest ansiblelater --cov=ansiblelater --cov-append --no-cov-on-fail - ansible-later --help - ansible-later --version environment: @@ -49,7 +49,7 @@ steps: commands: - pip install -r dev-requirements.txt -qq - pip install -qq . - - pytest ansiblelater --cov=ansiblelater --no-cov-on-fail + - pytest ansiblelater --cov=ansiblelater --cov-append --no-cov-on-fail - ansible-later --help - ansible-later --version environment: @@ -62,7 +62,7 @@ steps: commands: - pip install -r dev-requirements.txt -qq - pip install -qq . - - pytest ansiblelater --cov=ansiblelater --no-cov-on-fail + - pytest ansiblelater --cov=ansiblelater --cov-append --no-cov-on-fail - ansible-later --help - ansible-later --version environment: @@ -75,7 +75,7 @@ steps: commands: - pip install -r dev-requirements.txt -qq - pip install -qq . - - pytest ansiblelater --cov=ansiblelater --no-cov-on-fail + - pytest ansiblelater --cov=ansiblelater --cov-append --no-cov-on-fail - ansible-later --help - ansible-later --version environment: @@ -87,7 +87,6 @@ steps: image: python:3.8 commands: - pip install codecov -qq - - coverage combine - codecov --required -X gcov environment: CODECOV_TOKEN: @@ -496,6 +495,6 @@ depends_on: --- kind: signature -hmac: cea3fb11c103d49bfac611b13916c457c0ce4df1194fa5e8c9c0a0f3a12c02ae +hmac: 968f0d1f0676d8fab71d93009c40e0cb29edda9db6bfe9436200018279d509af ...