zuul-jobs/roles/haskell-stack-test/tasks/main.yaml
Tristan Cacqueray 16673b8dc1 haskell-stack-test: add build target job variable
This change adds support for custom target and adds a
separate build step to better report build failure, as
opposed to a single test failure.

Change-Id: I9e7a5e14b669dcbacd26861595358f6a4c04b585
2020-05-08 14:11:11 +00:00

10 lines
273 B
YAML

- name: Run stack build {{ _stack_build_args }}
command: "stack build {{ _stack_build_args }}"
args:
chdir: "{{ zuul_work_dir }}"
- name: Run stack test {{ _stack_test_args }}
command: "stack test {{ _stack_test_args }}"
args:
chdir: "{{ zuul_work_dir }}"