Попытка установить 15 postgres
Some checks failed
Run Tests / run_tests (push) Failing after 43s

This commit is contained in:
Olga Nemt 2024-12-18 13:48:24 +05:00
parent 17daf81fa4
commit 8220d23a72

View File

@ -23,12 +23,13 @@ jobs:
apt update
apt install -y locales
locale-gen ru_RU.UTF-8
apt install -y postgresql
locale-gen en_US.UTF-8
apt install -y postgresql-15
service postgresql start
sudo -u postgres -s psql -U postgres -d postgres -c "alter user postgres with password 'postgres'; SELECT version();"
sudo -u postgres -s psql -U postgres -d postgres -c "CREATE DATABASE persistence WITH OWNER 'postgres'"
sudo -u postgres -s psql -U postgres -d postgres -c "CREATE DATABASE persistence WITH OWNER 'postgres' ENCODING 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8' TEMPLATE = template0"
sudo locale -a
#ENCODING 'UTF8' LC_COLLATE = 'Russian_Russia.1251' LC_CTYPE = 'Russian_Russia.1251' TEMPLATE = template0
#
# - uses: pdm-project/setup-pdm@v3
# with:
# python-version: 3.10