Skip to content

Commit 85dc30b

Browse files
committed
TMT: add validate test
Signed-off-by: Lokesh Mandvekar <[email protected]>
1 parent 8309b68 commit 85dc30b

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

.packit.yaml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
targets:
2121
- fedora-all-x86_64
2222
- fedora-all-aarch64
23-
- centos-stream+epel-next-8-x86_64
24-
- centos-stream+epel-next-8-aarch64
25-
- centos-stream+epel-next-9-x86_64
26-
- centos-stream+epel-next-9-aarch64
23+
- centos-stream-8-x86_64
24+
- centos-stream-8-aarch64
25+
- centos-stream-9-x86_64
26+
- centos-stream-9-aarch64
2727
additional_repos:
2828
- "copr://rhcontainerbot/podman-next"
2929

@@ -38,6 +38,19 @@ jobs:
3838
project: podman-next
3939
enable_net: true
4040

41+
- job: tests
42+
trigger: pull_request
43+
notifications:
44+
failure_comment:
45+
message: "TMT validate test failed. @containers/packit-build please check."
46+
# arch assumed to be x86_64 by default.
47+
targets: &test_targets
48+
- fedora-all
49+
- centos-stream-9
50+
- centos-stream-8
51+
identifier: validate
52+
tmt_plan: "/plans/validate_test"
53+
4154
- job: propose_downstream
4255
trigger: release
4356
update_release: false

plans/main.fmf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/validate_test:
2+
summary: Run validate test
3+
execute:
4+
how: tmt
5+
script: make validate

0 commit comments

Comments
 (0)