Codebase list python-procrunner / 6695ca6 .azure-pipelines / ci.yml
6695ca6

Tree @6695ca6 (Download .tar.gz)

ci.yml @6695ca6raw · history · blame

steps:
- task: UsePythonVersion@0
  inputs:
    versionSpec: '$(PYTHON_VERSION)'
  displayName: 'Use Python $(PYTHON_VERSION)'

- script: |
    python -m pip install --upgrade pip
    pip install tox
  displayName: "Set up tox"

- script: |
    tox -e azure
  displayName: "Run tests"

- task: PublishTestResults@2
  condition: succeededOrFailed()
  inputs:
    testResultsFiles: '**/test-*.xml'
    testRunTitle: 'Publish test results for Python $(PYTHON_VERSION)'