diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 129fc24..c783a56 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -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