Skip to content

Commit 34dc713

Browse files
committed
Add pytest integration tests in tmt
Signed-off-by: Cristian Le <[email protected]>
1 parent 3210a0d commit 34dc713

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.distro/plans/pytest.fmf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
summary: Upstream pytest
2+
discover+:
3+
filter: "tag: pytest"
4+
execute:
5+
how: tmt

tests/main.fmf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
tag: [ pytest ]
2+
require:
3+
- python3-devel
4+
- python3-pip
5+
- cmake
6+
- python3-pytest
7+
path: /
8+
test: python3 -m pytest
9+
10+
/all:
11+
summary: All pytest

0 commit comments

Comments
 (0)