Skip to content

ci: add GitHub Actions test workflow#11

Merged
joshrotenberg merged 1 commit intomainfrom
ci/add-test-workflow
Apr 18, 2026
Merged

ci: add GitHub Actions test workflow#11
joshrotenberg merged 1 commit intomainfrom
ci/add-test-workflow

Conversation

@joshrotenberg
Copy link
Copy Markdown
Contributor

Summary

Mirrors gen_agent_anthropic's ci.yml. Triggers on push to main and every PR.

Jobs

  • test (Elixir 1.19 / OTP 27): format check, compile --warnings-as-errors, credo --strict, dialyzer, mix test
  • docs: mix docs — surfaces hexdocs build issues early (22 warnings currently, tracked as docs: mix docs builds clean before 0.1.0 #4; not blocking since mix docs exits 0)

Caching

  • deps + _build keyed on mix.lock so the dialyzer PLT rides along in _build/dev/ between runs

Test plan

  • This PR's own CI run will validate the workflow itself (watching the checks tab)
  • Local mix format --check-formatted, mix credo --strict, mix dialyzer, mix test, mix docs all green locally

Closes #6. Depends on #1 (credo + dialyzer), already merged.

Runs on push to main and every PR. Mirrors gen_agent_anthropic's
ci.yml shape:

- test job: format check, compile --warnings-as-errors, credo
  --strict, dialyzer, mix test
- docs job: mix docs (surfaces hexdocs build issues early)
- Ubuntu, Elixir 1.19 / OTP 27 (matches setup-beam in the
  existing release workflow)
- Caches deps and _build keyed on mix.lock; dialyzer PLT rides
  along in _build/dev/

Closes #6
@joshrotenberg joshrotenberg merged commit e99e3f6 into main Apr 18, 2026
2 checks passed
@joshrotenberg joshrotenberg deleted the ci/add-test-workflow branch April 18, 2026 04:38
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.

ci: add GitHub Actions test workflow

1 participant