Skip to content

Conversation

@tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jan 4, 2026

Summary

GitHub composite actions do not
support starting services. The calling
workflow needs to handle this.

Currently all our extensions that test
multiple database actually test with
SQLite all the time.

Expose necessary ENV vars for testing
MySQL and PostgreSQL on GitHub actions.

Adding examples and more documentation
to README. We now need to update all
extensions that use this action manually

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

@tvdeyen tvdeyen requested a review from mamhoff January 4, 2026 14:46
@tvdeyen
Copy link
Member Author

tvdeyen commented Jan 4, 2026

Tested with solidusio/solidus_auth_devise#267

@tvdeyen tvdeyen changed the title feat: Add support for testing database adapters fix: Remove DB services Jan 4, 2026
@tvdeyen tvdeyen force-pushed the support-testings-dbs branch 3 times, most recently from 7987635 to 3ace621 Compare January 4, 2026 16:25
@tvdeyen tvdeyen changed the title fix: Remove DB services fix: Testing database adapters Jan 4, 2026
@tvdeyen tvdeyen force-pushed the support-testings-dbs branch 5 times, most recently from c854be9 to 69c4741 Compare January 4, 2026 19:08
@tvdeyen
Copy link
Member Author

tvdeyen commented Jan 4, 2026

Finally works solidusio/solidus_auth_devise#267 😓

@tvdeyen tvdeyen force-pushed the support-testings-dbs branch 2 times, most recently from c4f1942 to 7d5bd28 Compare January 4, 2026 19:27
GitHub composite actions do not
support starting services. The calling
workflow needs to handle this.

Currently all our extensions that test
multiple database actually test with
SQLite all the time.

Expose necessary ENV vars for testing
MySQL and PostgreSQL on GitHub actions.

Adding examples and more documentation
to README. We now need to update all
extensions that use this action manually
@tvdeyen tvdeyen force-pushed the support-testings-dbs branch from 7d5bd28 to be8d5ac Compare January 4, 2026 19:33
@tvdeyen tvdeyen requested review from a team and removed request for mamhoff January 4, 2026 21:11
Configure your database services with passwordless access for simplicity (see example below).

> [!WARNING]
> Rails 8.0 has a [known issue](https://github.com/rails/rails/issues/53673) with MySQL/MariaDB that causes empty `Mysql2::Error` messages. Until a fix is released, exclude the `mariadb` + Rails 8.0 combination from your test matrix.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears this is fixed in Rails 8.0.1+. See rails/rails@12e4394

@tvdeyen tvdeyen merged commit 73ec08a into main Jan 5, 2026
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