CI: Drop STI and use TMT
This commit is contained in:
parent
9e9ac5a69f
commit
6c03591bd3
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
15
plan.fmf
Normal file
15
plan.fmf
Normal file
@ -0,0 +1,15 @@
|
||||
execute:
|
||||
how: tmt
|
||||
discover:
|
||||
how: shell
|
||||
dist-git-source: true
|
||||
tests:
|
||||
- name: bundled tests
|
||||
require:
|
||||
- platform-python
|
||||
- python3-pytest
|
||||
- python3-mock
|
||||
- python3-urllib3
|
||||
test: |
|
||||
cd $(dirname $TMT_SOURCE_DIR/urllib3-*/test) &&
|
||||
/usr/libexec/platform-python -m pytest -v
|
||||
@ -1,19 +0,0 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- always
|
||||
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- atomic
|
||||
- classic
|
||||
required_packages:
|
||||
- python3-pytest
|
||||
- python3-mock
|
||||
|
||||
tests:
|
||||
- verify:
|
||||
dir: ./source/test
|
||||
run: /usr/libexec/platform-python -m pytest -v
|
||||
Loading…
Reference in New Issue
Block a user