diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38c108a..d693817 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,9 +26,11 @@ jobs: run: | fluentci run --wasm postgres start pkgx psql --host=localhost -d postgres -U `whoami` -c 'CREATE DATABASE s2;' - pkgx psql --host=localhost -d postgres -U `whoami` -c 'CREATE USER postgres CREATEROLE;' - pkgx psql --host=localhost -d postgres -U `whoami` -c 'GRANT ALL PRIVILEGES ON DATABASE s2 TO postgres;' - pkgx psql --host=localhost -d postgres -U `whoami` -c 'GRANT ALL ON SCHEMA public TO postgres;' + pkgx psql --host=localhost -d s2 -U `whoami` -c 'CREATE USER postgres CREATEROLE;' + pkgx psql --host=localhost -d s2 -U `whoami` -c 'GRANT ALL PRIVILEGES ON DATABASE s2 TO postgres;' + pkgx psql --host=localhost -d s2 -U `whoami` -c 'GRANT ALL ON SCHEMA public TO postgres;' + pkgx psql --host=localhost -d s2 -U `whoami` -c 'GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO postgres;' + pkgx psql --host=localhost -d s2 -U `whoami` -c 'ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL ON TABLES TO postgres;' go install gotest.tools/gotestsum@latest PATH=$HOME/go/bin:$PATH gotestsum --junitfile junit.xml ./... env: