diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 21960faa788..62d63f52871 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,7 +20,7 @@ jobs: pool: vmImage: 'VS2017-Win2016' variables: - MPLBACKEND: agg + MPLBACKEND: agg strategy: maxParallel: 4 matrix: @@ -42,6 +42,7 @@ jobs: matplotlib numpy pytest + pytest-cov pytest-xdist scikit-learn scipy @@ -55,5 +56,9 @@ jobs: displayName: 'Build MDAnalysis' - powershell: | cd testsuite - pytest .\MDAnalysisTests --disable-pytest-warnings -n 2 -rsx + pytest .\MDAnalysisTests --disable-pytest-warnings -n 2 -rsx --cov=MDAnalysis displayName: 'Run MDAnalysis Test Suite' + - script: | + curl -s https://codecov.io/bash | bash + condition: succeeded() + displayName: 'Codecov Coverage Upload'