Skip to content

Commit 27374a5

Browse files
committed
Fix salesfroce_connect in CI
1 parent 5eb25fb commit 27374a5

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY: deterministic-key
5757
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT: derivation-salt
5858
EDITOR_ENCRYPTION_KEY: a1b2c3d4e5f67890123456789abcdef0123456789abcdef0123456789abcdef0
59+
SALESFORCE_CONNECT_HOST: 127.0.0.1
60+
SALESFORCE_CONNECT_USER: choco
61+
SALESFORCE_CONNECT_PASSWORD: password
62+
SALESFORCE_CONNECT_DB: salesforce_test
5963
services:
6064
postgres:
6165
image: postgres:12
@@ -101,6 +105,11 @@ jobs:
101105
sleep 1
102106
done
103107
108+
- name: Create Salesforce Connect database
109+
env:
110+
PGPASSWORD: password
111+
run: psql -h 127.0.0.1 -U choco -c "CREATE DATABASE salesforce_test;"
112+
104113
- name: Database setup
105114
run: bin/rails db:setup --trace
106115

0 commit comments

Comments
 (0)