Skip to content
Snippets Groups Projects
Commit 18c3ca78 authored by lain's avatar lain
Browse files

Add format checking to CI.

parent 193be32f
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ variables:
POSTGRES_PASSWORD: postgres
stages:
- lint
- test
before_script:
......@@ -18,6 +19,11 @@ before_script:
- MIX_ENV=test mix ecto.create
- MIX_ENV=test mix ecto.migrate
lint:
stage: lint
script:
- MIX_ENV=test mix format --check-formatted
unit-testing:
stage: test
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment