Skip to content

Fix database selection on CI#4

Open
p8 wants to merge 3 commits intomasterfrom
fix/select-db-on-ci
Open

Fix database selection on CI#4
p8 wants to merge 3 commits intomasterfrom
fix/select-db-on-ci

Conversation

@p8
Copy link
Copy Markdown
Owner

@p8 p8 commented Jun 11, 2021

No description provided.

@p8 p8 force-pushed the fix/select-db-on-ci branch 17 times, most recently from c07bdd4 to 32ed1b2 Compare June 11, 2021 20:37
To run the specs against a different database we need to set the DB
environment variable.
The current workflow is missing this env var so it always uses sqlite3.

Some other fixes include:
* Make sure the workflow credentials match the db/database.yml
* Stringify the database configurtation keys for Rails 6.1.
* Changed the branch for the latest Rails version from master to main.
* Add sort_by to the leaves spec to make sure it works on postgres 12.
@p8 p8 force-pushed the fix/select-db-on-ci branch from 32ed1b2 to 61cc7a2 Compare June 11, 2021 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants