Skip to content

Commit f9e06b2

Browse files
committed
fix: remove DATABASE_URL env var that conflicts with parallel tests
1 parent 46bc62c commit f9e06b2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ env:
1818
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY: test-primary-key-32-bytes-long!!
1919
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY: test-deterministic-key-32-bytes!
2020
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT: test-salt-for-key-derivation
21-
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test
2221

2322
jobs:
2423
lint:
@@ -113,7 +112,6 @@ jobs:
113112

114113
- name: Run Tests
115114
env:
116-
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test
117115
REDIS_URL: redis://localhost:6379/0
118116
run: bundle exec parallel_rspec spec -n 2 -o '--format progress'
119117

@@ -164,16 +162,13 @@ jobs:
164162
bundler-cache: true
165163

166164
- name: Setup Database
167-
env:
168-
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test
169165
run: |
170166
bundle exec rails db:create
171167
bundle exec rails db:schema:load
172168
173169
- name: Run API specs with OpenAPI generation
174170
env:
175171
OPENAPI: 1
176-
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test
177172
REDIS_URL: redis://localhost:6379/0
178173
run: bundle exec rspec spec/requests/api --format progress
179174

0 commit comments

Comments
 (0)