| |
@@ -0,0 +1,16 @@
|
| |
+ - hosts: all
|
| |
+ tasks:
|
| |
+ - name: Install Python and pytest
|
| |
+ # (and also pycurl and koji cause we don't want to compile entire universe during CI and those two require gcc and C stuff...)
|
| |
+ package:
|
| |
+ name: ['python3-pytest', 'python3', 'python3-pip', 'python3-pycurl', 'python3-koji']
|
| |
+ state: present
|
| |
+ become: yes
|
| |
+ - name: Install blockerbugs dependencies
|
| |
+ command: "pip3 install --user -r requirements.txt"
|
| |
+ args:
|
| |
+ chdir: '{{ zuul.project.src_dir }}'
|
| |
+ - name: run-pytest
|
| |
+ command: "pytest"
|
| |
+ args:
|
| |
+ chdir: '{{ zuul.project.src_dir }}'
|
| |
\ No newline at end of file
|
| |