zuul-jobs/zuul.d/haskell-jobs.yaml
Tristan Cacqueray 2e82d88589 hlint: add haskell source code suggestions job
This change adds a new job to run hlint on haskell source files.

Change-Id: Ibf76c5552acecd68dfc56c4f31d8045ca5b233f1
2020-04-26 12:05:12 +00:00

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