zuul-jobs/zuul.d/haskell-jobs.yaml
Tristan Cacqueray cf64b73f78 haskell-stack-test: add haskell tool stack test
This change adds a new job to test stack based haskell project.

Change-Id: Ie3492097b351eec743d98e9ca8bc693c00c11a78
2020-05-01 15:35:33 +00:00

37 lines
862 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: haskell-stack-test
description: |
Run stack test for a Haskell project.
.. zuul:jobvar:: lts_version
Use the specified lts version.
run: playbooks/haskell/stack.yaml
pre-run: playbooks/haskell/pre-stack.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