projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193be32
)
Add format checking to CI.
author
lain
<lain@soykaf.club>
Fri, 20 Apr 2018 11:09:41 +0000
(13:09 +0200)
committer
lain
<lain@soykaf.club>
Fri, 20 Apr 2018 11:09:41 +0000
(13:09 +0200)
.gitlab-ci.yml
patch
|
blob
|
history
diff --git
a/.gitlab-ci.yml
b/.gitlab-ci.yml
index 4db167febb1cf737e4699e6596ba58ee64dce6a7..d852e7ae4685e759f294601160cd1fc7f1c033ab 100644
(file)
--- a/
.gitlab-ci.yml
+++ b/
.gitlab-ci.yml
@@
-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: