diff options
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r-- | .azure-pipelines.yml | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index eabcaf7..680a15c 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -5,7 +5,7 @@ trigger: variables: vmImage: ubuntu-latest python.version: '3.8' - TOXENV: py,coverage-ci + TOXENV: py hasTestResults: 'true' strategy: @@ -26,9 +26,6 @@ strategy: python.version: '3.5' Python 2.7 Linux: python.version: '2.7' - Python 2.7 Windows: - python.version: '2.7' - vmImage: windows-latest Docs: TOXENV: docs hasTestResults: 'false' @@ -48,19 +45,5 @@ steps: - script: pip --disable-pip-version-check install -U tox displayName: Install tox - - script: tox -s false -- --junit-xml=test-results.xml + - script: tox displayName: Run tox - - - task: PublishTestResults@2 - inputs: - testResultsFiles: test-results.xml - testRunTitle: $(Agent.JobName) - condition: eq(variables['hasTestResults'], 'true') - displayName: Publish test results - - - task: PublishCodeCoverageResults@1 - inputs: - codeCoverageTool: Cobertura - summaryFileLocation: coverage.xml - condition: eq(variables['hasTestResults'], 'true') - displayName: Publish coverage results |