We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 521f7ad commit 93272efCopy full SHA for 93272ef
scripts/ci/test.yml
@@ -16,5 +16,20 @@ run:
16
args:
17
- -exc
18
- |
19
+ # Install Postgres
20
+ apt-get update
21
+ apt-get install -y postgresql
22
+
23
+ # Allow access from any local client as `postgres` and other network users must provide a password
24
+ cat > /etc/postgresql/*/main/pg_hba.conf <<-EOF
25
+ local all postgres trust
26
+ host all all 0.0.0.0/0 md5
27
+ EOF
28
29
+ # Start Postgres
30
+ service postgresql restart
31
+ # Create databases, including the test database
32
+ psql -U postgres -f sources/scripts/postgres/create-databases.sql postgres
33
34
cd sources
35
gradle test
0 commit comments