Skip to content

Commit 18bd865

Browse files
committed
create user manually
1 parent 692d1df commit 18bd865

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ruby.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
PGHOST: localhost
107107
PGPORT: 5432
108108
PGUSER: jruby
109+
PGPASSWORD: jruby
109110

110111
steps:
111112
- uses: actions/checkout@v4
@@ -121,8 +122,8 @@ jobs:
121122
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
122123
- name: Setup database
123124
run: |
124-
psql -c "create database activerecord_unittest;" -U jruby
125-
psql -c "create database activerecord_unittest2;" -U jruby
125+
PGPASSWORD=jruby psql -c "create database activerecord_unittest;" -U jruby
126+
PGPASSWORD=jruby psql -c "create database activerecord_unittest2;" -U jruby
126127
- name: Build
127128
run: |
128129
rake jar # compiles ext generates: lib/arjdbc/jdbc/adapter_java.jar
@@ -250,6 +251,7 @@ jobs:
250251
PGHOST: localhost
251252
PGPORT: 5432
252253
PGUSER: jruby
254+
PGPASSWORD: jruby
253255

254256
steps:
255257
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)