create user

This commit is contained in:
Felix Ableitner 2025-01-10 12:41:06 +01:00
parent 76f45085d3
commit c9dfbfea1f

View file

@ -95,6 +95,18 @@ steps:
when:
- event: pull_request
# `DROP OWNED` doesn't work for default user
create_database_user:
image: postgres:16-alpine
environment:
PGUSER: postgres
PGPASSWORD: password
PGHOST: database
PGDATABASE: lemmy
commands:
- psql -c "CREATE USER lemmy WITH PASSWORD 'password' SUPERUSER;"
when: *slow_check_paths
cargo_build:
image: *rust_image
environment: