Skip to content

Workflows

How do I run a database in CI?

Quick answer

Declare it as a service container with a healthcheck.

The detail that matters

Without the healthcheck your tests race the database's startup and produce failures that look like flaky tests.

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.