fix ci/cd

This commit is contained in:
Nick Bland 2021-11-08 13:04:51 +10:00
parent 781642ccfd
commit 866c1a5993
No known key found for this signature in database
GPG Key ID: B46CF88E4DAB4A2C

View File

@ -11,6 +11,8 @@ trigger:
steps: steps:
- name: postgresDBTest # Test that the service is ready to be acted upon for cargo tests - name: postgresDBTest # Test that the service is ready to be acted upon for cargo tests
image: postgres:12-alpine image: postgres:12-alpine
environment:
PGPASSWORD: password
commands: commands:
- sleep 20 - sleep 20
- "psql -U postgtres -d newsletter -h postgres" - "psql -U postgtres -d newsletter -h postgres"