| |
@@ -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 }}/"
|
| |
See https://fedoraproject.org/wiki/CI/Tests for more information.