Skip to content

Add CI to run fcx-web tests#2

Open
dokson wants to merge 1 commit into
cescobaz:mainfrom
dokson:feature/ci-elixir-tests
Open

Add CI to run fcx-web tests#2
dokson wants to merge 1 commit into
cescobaz:mainfrom
dokson:feature/ci-elixir-tests

Conversation

@dokson

@dokson dokson commented Jun 14, 2026

Copy link
Copy Markdown

Adds GitHub Actions CI for fcx-web. Runs the tests on every push and PR, across Elixir 1.15→1.19 / OTP 25→28. Also checks formatting and compiles with --warnings-as-errors.

Needed a few fixes to get the suite green:

  • The driver opens a port to the native fcxd binary. It's not built in CI, so mix test crashed on app boot. Gated it behind :start_driver, off in test.
  • The ErrorView test used Phoenix.View (gone since Phoenix 1.7). Now it tests template_not_found/2 directly.
  • Bumped elixir to ~> 1.15. The old ~> 1.14 was wrong: ecto_sqlite3 needs ~> 1.15.
  • config :logger, level: :warn:warning (deprecated).
  • Ran mix format on fcx-web.

Format check runs once (lint job), tests run across the version matrix. Test DB is SQLite, so no DB service needed.

You know I love to format your code 😉

Adds a matrix CI (format + warnings-as-errors + tests). To boot the suite,
the fcxd driver is now opt-out via :start_driver (off in test), the ErrorView
test no longer uses the removed Phoenix.View API, and fcx-web is formatted.
@dokson dokson force-pushed the feature/ci-elixir-tests branch from 2c8fc58 to f18819a Compare June 14, 2026 18:05
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