Skip to content
Snippets Groups Projects
Verified Commit 9ce6eb30 authored by David Larlet's avatar David Larlet
Browse files

CI: postgres is required

parent 302268a5
No related branches found
No related tags found
2 merge requests!166From preprod to prod,!156Fix : CI avec lancement des tests unitaires
......@@ -36,7 +36,7 @@ install_environment:
- mkdir -p "${APT_STATE_LISTS}/partial"
- mkdir -p "${APT_CACHE_ARCHIVES}/partial"
- apt update -qy
- apt install -y apt-utils curl libgdal-dev
- apt install -y apt-utils curl postgresql postgresql-contrib libgdal-dev
- export PGPASSWORD=$POSTGRES_PASSWORD
- psql --username $POSTGRES_USER --host $HOST -d $POSTGRES_DB -c "ALTER ROLE anthology_django SET client_encoding TO 'utf8';"
- psql --username $POSTGRES_USER --host $HOST -d $POSTGRES_DB -c "ALTER ROLE anthology_django SET default_transaction_isolation TO 'read committed';"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment