From 043013b5142e52a2d2dcd5f1f4836ed369729121 Mon Sep 17 00:00:00 2001 From: scragly <29337040+scragly@users.noreply.github.com> Date: Sat, 21 Sep 2019 14:16:01 +1000 Subject: Try run PGDB in CI before linting. --- azure-pipelines.yml | 19 ++++++++++--------- 1 file 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 -- cgit v1.2.3