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