Skip to content

Commit 1d61027

Browse files
committed
Add pytest integration tests in tmt
Signed-off-by: Cristian Le <[email protected]>
1 parent 0ea9d42 commit 1d61027

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tests/main.fmf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/pytest:
2+
summary: Run pytest tests
3+
tag: [ pytest ]
4+
# TODO: filter only for network marked tests
5+
/all:
6+
summary: All pytest
7+
# TODO: Find a better way to deal with lack of git data
8+
path: /
9+
test: |
10+
# Fake a git archive
11+
cat << EOF > .git_archival.txt
12+
node: 47431d4eefbac9c3a7c49e62c73e624b932023eb
13+
node-date: 2025-02-27T16:18:39-05:00
14+
describe-name: v0.11.0
15+
EOF
16+
# Actually run pytest
17+
python3 -m pytest

0 commit comments

Comments
 (0)