aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-09-21 14:16:01 +1000
committerGravatar scragly <[email protected]>2019-09-21 14:16:01 +1000
commit043013b5142e52a2d2dcd5f1f4836ed369729121 (patch)
tree0744234acc33b192ac78f9c7f429ec35dbe5b403
parentTry run PGDB in CI. (diff)
Try run PGDB in CI before linting.bad-lint-tester
-rw-r--r--azure-pipelines.yml19
1 files changed, 10 insertions, 9 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index df4fc5b1..7755e5ea 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -7,6 +7,16 @@ jobs:
vmImage: ubuntu-16.04
steps:
+ - task: DockerCompose@0
+ displayName: Run PostgreSQL DB
+ inputs:
+ action: Run a specific service
+ dockerComposeFile: docker-compose.yml
+ projectName: pydis_web
+ ports: 7777
+ detached: true
+ serviceName: postgres
+
- task: UsePythonVersion@0
displayName: 'Set Python Version'
inputs:
@@ -25,12 +35,3 @@ jobs:
testResultsFiles: '**/test-*.xml'
testRunTitle: 'Site-Django Lint Results'
- - task: DockerCompose@0
- displayName: Run PostgreSQL DB
- inputs:
- action: Run a specific service
- dockerComposeFile: docker-compose.yml
- projectName: pydis_web
- ports: 7777
- detached: true
- serviceName: postgres