Skip to content

Commit ca477c1

Browse files
author
František Nečas
committedFeb 25, 2022
Run tests with dependencies from PyPI
Signed-off-by: František Nečas <fnecas@redhat.com>
1 parent 45956e2 commit ca477c1

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
 

‎.zuul.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
jobs:
55
- pre-commit
66
- specfile-tests-rpm-deps
7+
- specfile-tests-pip-deps
78
gate:
89
jobs:
910
- pre-commit
@@ -14,3 +15,10 @@
1415
description: Run tests with dependencies installed as RPMs
1516
pre-run: files/install-requirements-rpms.yaml
1617
run: files/zuul-tests.yaml
18+
19+
- job:
20+
name: specfile-tests-pip-deps
21+
parent: base
22+
description: Run tests with dependencies installed from PyPI
23+
pre-run: files/install-requirements-pip.yaml
24+
run: files/zuul-tests.yaml

‎files/install-requirements-pip.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
- name: pip install specfile dependencies
3+
hosts: all
4+
tasks:
5+
- include_tasks: tasks/generic-dnf-requirements.yaml
6+
- name: Install deps from PyPI
7+
pip:
8+
name: "{{ item }}"
9+
with_items:
10+
- arrow
11+
- rpm-py-installer
12+
become: true

0 commit comments

Comments
 (0)
Please sign in to comment.