From 5d0ba10c132328ed08e900415da7c868b27eb166 Mon Sep 17 00:00:00 2001 From: vvijayra Date: Mon, 1 Jul 2019 16:34:08 +0530 Subject: [PATCH] updated script execution command and added git install dependency --- tests/fonttest_playbook.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/fonttest_playbook.yml b/tests/fonttest_playbook.yml index 488b3d1..182e12a 100644 --- a/tests/fonttest_playbook.yml +++ b/tests/fonttest_playbook.yml @@ -4,7 +4,7 @@ fontname: liberation lang: ["en","az-az","de","el","he"] testgiturl: https://pagure.io/font_ci_testing.git - testgitclonepath: /tmp/fonttest + testgitclonepath: fonttest testfilename: fonttest.py testfilepath: /usr/local/bin logfilepath: /tmp/test.log @@ -18,7 +18,8 @@ tasks: - name: Install required package dnf: - name: + name: + - git - "{{ config.fontname }}-fonts" - python3 - fontconfig @@ -27,14 +28,12 @@ git: repo: "{{ config.testgiturl }}" dest: "{{ config.testgitclonepath }}" - - - name: Install the test files - copy: src={{ config.testgitclonepath }}/tests/{{ config.testfilename }} dest={{ config.testfilepath }}/{{ config.testfilename }} mode=0755 + force: yes - name: Test Execution block: - name: Execute the tests - command: python3 {{ config.testfilepath }}/{{ config.testfilename }} "{{ config }}" + command: python3 {{ config.testgitclonepath }}/tests/{{ config.testfilename }} "{{ config }}" always: - name: Pull out the artifacts