diff options
author | 2019-09-21 14:16:01 +1000 | |
---|---|---|
committer | 2019-09-21 14:16:01 +1000 | |
commit | 043013b5142e52a2d2dcd5f1f4836ed369729121 (patch) | |
tree | 0744234acc33b192ac78f9c7f429ec35dbe5b403 | |
parent | Try run PGDB in CI. (diff) |
Try run PGDB in CI before linting.bad-lint-tester
-rw-r--r-- | azure-pipelines.yml | 19 |
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 |