We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac99e3 commit 470a2a5Copy full SHA for 470a2a5
.distro/plans/pytest.fmf
@@ -0,0 +1,5 @@
1
+summary: Upstream pytest
2
+discover+:
3
+ filter: "tag: pytest"
4
+execute:
5
+ how: tmt
tests/main.fmf
@@ -0,0 +1,20 @@
+tag: [ pytest ]
+require:
+ - pipx
+ - cmake
+path: /
6
+test: |
7
+ set -x
8
+
9
+ pipx run uv pip compile --no-deps \
10
+ -o requirements.txt \
11
+ --extra test \
12
+ ./pyproject.toml
13
14
+ # Install requirements from Fedora
15
+ dnf install -y $(sed -nr "s/(.*)==.*/python3dist\(\1\)/p" requirements.txt)
16
17
+/all:
18
+ summary: All pytest
19
+ test+: |
20
+ python3 -m pytest
0 commit comments