Skip to content

Commit

Permalink
TMT: add validate test
Browse files Browse the repository at this point in the history
Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
lsm5 committed Sep 28, 2023
1 parent 8309b68 commit 85dc30b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
targets:
- fedora-all-x86_64
- fedora-all-aarch64
- centos-stream+epel-next-8-x86_64
- centos-stream+epel-next-8-aarch64
- centos-stream+epel-next-9-x86_64
- centos-stream+epel-next-9-aarch64
- centos-stream-8-x86_64
- centos-stream-8-aarch64
- centos-stream-9-x86_64
- centos-stream-9-aarch64
additional_repos:
- "copr://rhcontainerbot/podman-next"

Expand All @@ -38,6 +38,19 @@ jobs:
project: podman-next
enable_net: true

- job: tests
trigger: pull_request
notifications:
failure_comment:
message: "TMT validate test failed. @containers/packit-build please check."
# arch assumed to be x86_64 by default.
targets: &test_targets
- fedora-all
- centos-stream-9
- centos-stream-8
identifier: validate
tmt_plan: "/plans/validate_test"

- job: propose_downstream
trigger: release
update_release: false
Expand Down
5 changes: 5 additions & 0 deletions plans/main.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/validate_test:
summary: Run validate test
execute:
how: tmt
script: make validate

0 comments on commit 85dc30b

Please sign in to comment.