Files
zuul-jobs/zuul.d/haskell-jobs.yaml
Tristan Cacqueray 7fdf0cc3ab cabal-test: add build target job variable
This change adds support for custom target and removes the
configure step which is not necessary.
This change also uses the copr of cabal-install to get
a more up-to-date version.

Change-Id: I538e2b24abb66181d1ead2779bf6aa3440ee58ff
2020-05-08 13:38:17 +00:00

41 lines
938 B
YAML

- job:
name: cabal-test
description: |
Run cabal test for a Haskell project.
Responds to these variables:
.. zuul:jobvar:: cabal_target
The cabal target(s) to test.
.. 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