From 58d299de99612f76f2ff5cfe7fb142d95e5e8738 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Mon, 26 Mar 2018 18:34:40 +0200 Subject: Improve speed and clarity of code coverage Rationale: - tox should work the same as before - coverage is too slow and disabled by default locally - disable coverage on pypy and pypy3 (way too slow) - add coverage info for pkg_resources - make sure tests are ignored in coverage - make sure all CI jobs are identifiable - include coverage for xfail (too complicated otherwise) - disable report on terminal --- appveyor.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index 2b659459..ff7122b4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,10 +1,13 @@ environment: APPVEYOR: True + CODECOV_ENV: APPVEYOR_JOB_NAME matrix: - - PYTHON: "C:\\Python35-x64" - - PYTHON: "C:\\Python27-x64" + - APPVEYOR_JOB_NAME: "python35-x64" + PYTHON: "C:\\Python35-x64" + - APPVEYOR_JOB_NAME: "python27-x64" + PYTHON: "C:\\Python27-x64" install: # symlink python from a directory with a space @@ -20,10 +23,9 @@ cache: test_script: - "python bootstrap.py" - "python -m pip install tox" - - "tox -e py" + - "tox -- --cov" after_test: - tox -e coverage,codecov version: '{build}' - -- cgit v1.2.3