Skip to content

Commit 7cb75c9

Browse files
committed
fix: Update CI workflow to set Couchbase environment for index setup
Modified the CI workflow to explicitly set the RAILS_ENV to 'test' when running the Couchbase index setup command. This ensures that the correct environment is used during the CI process, improving consistency and reliability of the integration tests.
1 parent f008e40 commit 7cb75c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
echo "Couchbase configuration validated successfully"
4040
4141
- name: Setup Couchbase indexes
42-
run: bundle exec rake couchbase:setup_indexes
42+
run: RAILS_ENV=test bundle exec rake couchbase:setup_indexes
4343

4444
- name: Run integration tests
4545
run: bundle exec rspec spec/requests/api/v1

0 commit comments

Comments
 (0)