Skip to content

Run integration tests with GitHub Actions services instead of Earthly - #4819

Merged
josevalim merged 2 commits into
masterfrom
ci-without-earthly
Nov 21, 2026
Merged

josevalim merged 2 commits into
masterfrom
ci-without-earthly

Conversation

@josevalim

@josevalim josevalim commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Integration tests have been failing on master since Nov 14. Earthly fails to load the database images into Docker-in-Docker (archive/tar: invalid tar header), before any test runs.

This replaces Earthly with plain GitHub Actions:

  • PostgreSQL 11.11, MySQL 5.7 and MSSQL 2019 run as service containers, the same images as before
  • Elixir/OTP come from erlef/setup-beam. The matrix uses the versions from the unit test job, which are known to be available on ubuntu-24.04
  • ecto_sql is checked out next to ecto and runs mix test.all with ECTO_PATH pointing to this checkout, as the Earthfile did

The Earthfile is removed, and the README now shows how to start the databases with Docker instead.

Earthly fails to load the database images into Docker-in-Docker
("archive/tar: invalid tar header"), so integration tests now run
directly on the runner against service containers.

Claude-Session: https://claude.ai/code/session_01KktWa1qtPDZWAyxdMeHkhj
Changesets can no longer be given as struct fields on insert.

Claude-Session: https://claude.ai/code/session_01KktWa1qtPDZWAyxdMeHkhj
@josevalim
josevalim merged commit 320f548 into master Nov 21, 2026
8 checks passed
josevalim added a commit that referenced this pull request Nov 21, 2026
…#4819)

Earthly fails to load the database images into Docker-in-Docker
("archive/tar: invalid tar header"), so integration tests now run
directly on the runner against service containers.

Also fix CI failure since changesets can no longer be given as struct
fields on insert.
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.

1 participant