From 918be42a1a12bffa9bbfd446682db8adf14c0fc2 Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Wed, 17 Jun 2020 22:21:12 -0400 Subject: [PATCH 1/2] Add Codecov to Azure pipelines --- azure-pipelines.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 21960faa788..f30911b7586 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 Data Upload' From 8ee5b8969feccd314bb887889b82ffaf96b41c60 Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Wed, 24 Jun 2020 10:11:21 -0400 Subject: [PATCH 2/2] Repush to fix issue with commit SHAs --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f30911b7586..62d63f52871 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -61,4 +61,4 @@ jobs: - script: | curl -s https://codecov.io/bash | bash condition: succeeded() - displayName: 'Codecov Coverage Data Upload' + displayName: 'Codecov Coverage Upload'