aboutsummaryrefslogtreecommitdiffstats
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines.yml')
-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