zuul-jobs/roles/cabal-test/tasks/main.yaml
Tristan Cacqueray d92b39cae2 cabal-test: add initial haskell job
This change adds a new job to test cabal based haskell project.

Change-Id: Idb24eb5f8f9bd1409bae07bf4da415f1d05568e4
2020-04-24 13:12:13 +00:00

20 lines
433 B
YAML

- name: Run cabal install --only-dependencies
command: cabal install --only-dependencies
args:
chdir: "{{ zuul_work_dir }}"
- name: Run cabal configure --enable-test
command: cabal configure --enable-test
args:
chdir: "{{ zuul_work_dir }}"
- name: Run cabal build
command: cabal build
args:
chdir: "{{ zuul_work_dir }}"
- name: Run cabal test
command: cabal test
args:
chdir: "{{ zuul_work_dir }}"