From c67368bd119d96434e901eded966da6151a93b72 Mon Sep 17 00:00:00 2001 From: nyanpasu64 Date: Thu, 10 Jan 2019 23:56:37 -0800 Subject: [PATCH] [appveyor] Run coverage and diff-cover --- appveyor.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 95475d2..dc6cce4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,11 +22,12 @@ environment: py: '%pydir%\python.exe' APPVEYOR_SAVE_CACHE_ON_ERROR: true + cache: -- '%LOCALAPPDATA%\pypoetry\Cache -> .appveyor\clear-caches' -- '%USERPROFILE%\.poetry -> .appveyor\clear-caches' - # \cache\repositories\pypi\ - # \virtualenvs\xyz-py3.x\ + - '%LOCALAPPDATA%\pypoetry\Cache -> .appveyor\clear-caches' + - '%USERPROFILE%\.poetry -> .appveyor\clear-caches' + # \cache\repositories\pypi\ + # \virtualenvs\xyz-py3.x\ install: # needed? to fix `appveyor` command @@ -43,7 +44,8 @@ build_script: - exit test_script: - - 'poetry run pytest --tb=short' + - 'poetry run pytest --tb=short --cov=corrscope' + - 'poetry run codecov' after_test: - 'if not "%pydir%"=="C:\Python37" appveyor exit'