From 623ff6aac15da5c2b2ac509149664b7031f8d433 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Mon, 16 Aug 2021 18:49:30 +0100 Subject: [PATCH] hopefully fix test suite postgres run --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5f9756e..0b0a21a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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