zuul-jobs/zuul-tests.d/haskell.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

41 lines
980 B
YAML

- job:
name: zuul-jobs-test-cabal-test
description: Test the cabal-test job and roles
parent: cabal-test
files:
- playbooks/haskell/cabal.yaml
- playbooks/haskell/pre.yaml
- roles/ensure-cabal/.*
- roles/ensure-ghc/.*
- roles/cabal-test/.*
pre-run: test-playbooks/haskell/setup-project.yaml
nodeset:
nodes:
- name: fedora-31
label: fedora-31
- job:
name: zuul-jobs-test-hlint
description: Test the hlint job and roles
parent: hlint
files:
- playbooks/haskell/hlint.yaml
- playbooks/haskell/pre-hlint.yaml
- roles/ensure-hlint/.*
- roles/hlint/.*
pre-run:
- playbooks/haskell/pre.yaml
- test-playbooks/haskell/setup-project.yaml
nodeset:
nodes:
- name: fedora-31
label: fedora-31
- project:
check:
jobs: &id001
- zuul-jobs-test-cabal-test
- zuul-jobs-test-hlint
gate:
jobs: *id001