diff options
| author | 2019-09-22 15:15:27 -0400 | |
|---|---|---|
| committer | 2019-09-22 15:15:27 -0400 | |
| commit | 9e30880df12d085b545ed3d429b2dcea3ea7d544 (patch) | |
| tree | b3409f6be37e20ad8c4f67bcb0fe609647d6f93f /azure-pipelines.yml | |
| parent | Make defcon days command turn on defcon, refactor log messaging (diff) | |
| parent | Fix date formatting bug in infraction search (diff) | |
Merge branch 'master' into defcon-fix-django
Diffstat (limited to 'azure-pipelines.yml')
| -rw-r--r-- | azure-pipelines.yml | 16 | 
1 files changed, 15 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 19df35c11..4dcad685c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -38,9 +38,23 @@ jobs:    - script: python -m flake8      displayName: 'Run linter' -  - script: BOT_TOKEN=foobar python -m pytest tests +  - script: BOT_API_KEY=foo BOT_TOKEN=bar WOLFRAM_API_KEY=baz python -m pytest --junitxml=junit.xml --cov=bot --cov-branch --cov-report=term --cov-report=xml tests      displayName: Run tests +  - task: PublishCodeCoverageResults@1 +    displayName: 'Publish Coverage Results' +    condition: succeededOrFailed() +    inputs: +      codeCoverageTool: Cobertura +      summaryFileLocation: coverage.xml + +  - task: PublishTestResults@2 +    displayName: 'Publish Test Results' +    condition: succeededOrFailed() +    inputs: +      testResultsFiles: junit.xml +      testRunTitle: 'Bot Test results' +  - job: build    displayName: 'Build Containers'    dependsOn: 'test'  |