#1 Add tests according to the Fedora CI initiative.
Merged 6 years ago by mikeb. Opened 6 years ago by mikeb.
rpms/ mikeb/python-cheetah fedora-ci-tests  into  master

@@ -0,0 +1,27 @@ 

+ ---

+ - hosts: localhost

+   vars:

+   - artifacts: ./artifacts

+   tags:

+   - atomic

+   - classic

+   - container

+   tasks:

+   - name: Make artifacts directory

+     file: path={{ artifacts }} state=directory owner=root mode=755 recurse=yes

+ 

+   - name: Install optional dependencies

+     package: name={{ item }} state=present

+     with_items:

+       - python-markdown

+       - python-pygments

+ 

+   - block:

+     - name: Run cheetah built-in tests

+       shell: cheetah test > {{ artifacts }}/test.log 2>&1

+ 

+   - always:

+     - name: Pull out the artifacts

+       fetch:

+         dest: "{{ artifacts }}/"

+         src: "{{ artifacts }}/"

file added
+2
@@ -0,0 +1,2 @@ 

+ ---

+ - include: builtin-tests.yml

Pull-Request has been merged by mikeb

6 years ago
Metadata