Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b284634b22 |
3 changed files with 46 additions and 48 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
1
|
||||||
45
plan.fmf
Normal file
45
plan.fmf
Normal file
|
|
@ -0,0 +1,45 @@
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
||||||
|
discover:
|
||||||
|
- name: same_repo
|
||||||
|
how: shell
|
||||||
|
dist-git-source: true
|
||||||
|
dist-git-download-only: true
|
||||||
|
tests:
|
||||||
|
- name: pythonabi
|
||||||
|
path: /tests
|
||||||
|
test: ./pythonabi.sh
|
||||||
|
- name: pythonname
|
||||||
|
path: /tests
|
||||||
|
test: ./pythonname.sh
|
||||||
|
- name: pythondist
|
||||||
|
path: /tests
|
||||||
|
test: ./pythondist.sh
|
||||||
|
- name: console_script
|
||||||
|
path: /tests
|
||||||
|
test: ./console_script.sh
|
||||||
|
- name: pytest
|
||||||
|
test: cd $TMT_SOURCE_DIR && ./tests/download_data_and_run_pytest.sh
|
||||||
|
|
||||||
|
prepare:
|
||||||
|
- name: Install dependencies
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- rpm-build
|
||||||
|
- rpmdevtools
|
||||||
|
- fedpkg-minimal
|
||||||
|
- python3-devel
|
||||||
|
- python3-pip
|
||||||
|
- python3-pytest
|
||||||
|
- python3-pyyaml
|
||||||
|
- python3-setuptools
|
||||||
|
- python3-wheel
|
||||||
|
- dnf
|
||||||
|
- name: Update packages
|
||||||
|
how: shell
|
||||||
|
script: dnf upgrade -y
|
||||||
|
- name: rpm_qa
|
||||||
|
order: 100
|
||||||
|
how: shell
|
||||||
|
script: rpm -qa | sort | tee $TMT_PLAN_DATA/rpmqa.txt
|
||||||
|
|
@ -1,48 +0,0 @@
|
||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
tasks:
|
|
||||||
- dnf:
|
|
||||||
name: "*"
|
|
||||||
state: latest
|
|
||||||
|
|
||||||
- hosts: localhost
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
pre_tasks:
|
|
||||||
- import_role:
|
|
||||||
name: standard-test-source
|
|
||||||
vars:
|
|
||||||
fetch_only: True
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tests:
|
|
||||||
- rpm_qa:
|
|
||||||
dir: .
|
|
||||||
run: rpm -qa | sort
|
|
||||||
- pythonabi:
|
|
||||||
dir: .
|
|
||||||
run: ./pythonabi.sh
|
|
||||||
- pythonname:
|
|
||||||
dir: .
|
|
||||||
run: ./pythonname.sh
|
|
||||||
- pythondist:
|
|
||||||
dir: .
|
|
||||||
run: ./pythondist.sh
|
|
||||||
- console_script:
|
|
||||||
dir: .
|
|
||||||
run: ./console_script.sh
|
|
||||||
- pytest:
|
|
||||||
dir: .
|
|
||||||
run: ./download_data_and_run_pytest.sh
|
|
||||||
required_packages:
|
|
||||||
- rpm-build
|
|
||||||
- rpmdevtools
|
|
||||||
- fedpkg-minimal
|
|
||||||
- python3-devel
|
|
||||||
- python3-pip
|
|
||||||
- python3-pytest
|
|
||||||
- python3-pyyaml
|
|
||||||
- python3-setuptools
|
|
||||||
- python3-wheel
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue