summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Cacqueray <tdecacqu@redhat.com>2020-04-22 00:00:47 +0000
committerTristan Cacqueray <tdecacqu@redhat.com>2020-04-22 00:00:47 +0000
commit3bf3c1ba8a8157d87ae40712c65c91a2c3ca096a (patch)
tree52ad52a40380f8a7cb68e09bf4684ca4cea9c5c5
parent7f3d86f4af19b5c140c6f1bf3212fde3fd9eb795 (diff)
cabal-test: add install command
Change-Id: I7e0388ba755394341f187e623d86e65f8669f3d3
-rw-r--r--roles/cabal-test/tasks/main.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/cabal-test/tasks/main.yaml b/roles/cabal-test/tasks/main.yaml
index de58808..ea64470 100644
--- a/roles/cabal-test/tasks/main.yaml
+++ b/roles/cabal-test/tasks/main.yaml
@@ -1,3 +1,8 @@
+- name: Run cabal install --only-dependencies
+ command: cabal install --only-dependencies
+ args:
+ chdir: "{{ zuul_work_dir }}"
+
- name: Run cabal build
command: cabal build
args: