From e3d3fe6975abe3b8820302ff51ee91908d8d79a8 Mon Sep 17 00:00:00 2001 From: Wolfgang Kerzendorf Date: Sat, 9 Mar 2019 16:49:49 -0500 Subject: [PATCH] add pytest azurepipelines (#897) * add pytest azurepipelines * add stuff --- azure-pipelines.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 95db67e6770..90764c51277 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -58,18 +58,19 @@ jobs: - bash: | source activate tardis conda install -y pytest-cov - pytest tardis --tardis-refdata=$(ref.data.home) --junitxml=junit/test-results.xml --cov=tardis --cov-report=xml --cov-report=html + pip install git+https://github.com/tonybaloney/pytest-azurepipelines.git + pytest tardis --tardis-refdata=$(ref.data.home) --test-run-title="TARDIS test $(vm_Image)" --cov=tardis --cov-report=xml --cov-report=html displayName: 'TARDIS test' - - task: PublishTestResults@2 - condition: succeededOrFailed() - inputs: - testResultsFiles: '**/test-*.xml' - testRunTitle: 'Publish test results for TARDIS' +# - task: PublishTestResults@2 +# condition: succeededOrFailed() +# inputs: +# testResultsFiles: '**/test-*.xml' +# testRunTitle: 'Test results for TARDIS on $(vm_Image)' - - task: PublishCodeCoverageResults@1 - inputs: - codeCoverageTool: Cobertura - summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml' - reportDirectory: '$(System.DefaultWorkingDirectory)/**/htmlcov' +# - task: PublishCodeCoverageResults@1 +# inputs: +# codeCoverageTool: Cobertura +# summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml' +# reportDirectory: '$(System.DefaultWorkingDirectory)/**/htmlcov'