updated script execution command and added git install dependency
This commit is contained in:
parent
e3dd01f197
commit
5d0ba10c13
@ -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
|
||||
@ -19,6 +19,7 @@
|
||||
- name: Install required package
|
||||
dnf:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user