Codebase list python-procrunner / e4144b54-110d-490a-ad95-db2947bb7bfe/main .azure-pipelines / ci.yml
e4144b54-110d-490a-ad95-db2947bb7bfe/main

Tree @e4144b54-110d-490a-ad95-db2947bb7bfe/main (Download .tar.gz)

ci.yml @e4144b54-110d-490a-ad95-db2947bb7bfe/mainraw · 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)'