2e82d88589
This change adds a new job to run hlint on haskell source files. Change-Id: Ibf76c5552acecd68dfc56c4f31d8045ca5b233f1
24 lines
565 B
YAML
24 lines
565 B
YAML
- job:
|
|
name: cabal-test
|
|
description: |
|
|
Run cabal test for a Haskell project.
|
|
|
|
Responds to these variables:
|
|
|
|
.. zuul:jobvar:: ghc_version
|
|
|
|
Use the specified ghc version (``latest`` picks the latest).
|
|
run: playbooks/haskell/cabal.yaml
|
|
pre-run: playbooks/haskell/pre.yaml
|
|
vars:
|
|
ghc_version: latest
|
|
|
|
- job:
|
|
name: hlint
|
|
description: |
|
|
Run haskell source code suggestions.
|
|
|
|
This job produces an hlint.html report.
|
|
run: playbooks/haskell/hlint.yaml
|
|
pre-run: playbooks/haskell/pre-hlint.yaml
|