ci: Fix hlint CodeClimate output
This commit is contained in:
parent
59eb3b502e
commit
8b4754e9ad
2 changed files with 3 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ unit-test-job: # This job runs in the test stage.
|
||||||
- linux
|
- linux
|
||||||
script:
|
script:
|
||||||
- echo "Running unit tests... This will take about 60 seconds."
|
- echo "Running unit tests... This will take about 60 seconds."
|
||||||
- sleep 60
|
- sleep 1
|
||||||
- echo "Code coverage is 90%"
|
- echo "Code coverage is 90%"
|
||||||
|
|
||||||
lint-test-job: # This job also runs in the test stage.
|
lint-test-job: # This job also runs in the test stage.
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -20,8 +20,8 @@ $(BUILDDIR)/bin/annotator: app/Main.hs src/*.hs
|
||||||
watch:
|
watch:
|
||||||
@git ls-files src app Makefile | entr make -s build install
|
@git ls-files src app Makefile | entr make -s build install
|
||||||
|
|
||||||
lint:
|
lint: builddir
|
||||||
@-hlint -g --cc > $(BUILDDIR)/ci/hlint.report.json
|
hlint lint --git --cc --no-exit-code | tr -d '\0' | jq -s . > $(BUILDDIR)/ci/hlint.report.json
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf $(BUILDDIR)
|
@rm -rf $(BUILDDIR)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue