hopefully fix test suite postgres run
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Olivier 'reivilibre' 2021-08-16 18:49:30 +01:00
parent dbff6c6521
commit 623ff6aac1
1 changed files with 3 additions and 2 deletions

View File

@ -30,8 +30,9 @@ steps:
image: rust:1.54.0-slim-bullseye
commands:
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev python3.9 python3.9-venv postgresql postgresql-client
- su -u postgres -c 'createuser root'
- su -u postgres -c 'createdb -O root testsuitedb'
- pg_ctlcluster 13 main start
- su postgres -c 'createuser root'
- su postgres -c 'createdb -O root testsuitedb'
- psql testsuitedb -c 'CREATE TABLE testsuitetable ();'
- cargo install -q --path yama
- cargo install -q --path datman