From 9d6cd3b79bf0019d200bdddbafe6205df5bd399c Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Thu, 21 Mar 2024 08:51:38 +0100 Subject: [PATCH] ci: Add a simple tmt test and run it via packit --- .fmf/version | 1 + .packit.yaml | 5 +++++ plans/tests.fmf | 9 +++++++++ 3 files changed, 15 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/tests.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 00000000..d00491fd --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.packit.yaml b/.packit.yaml index 905cdacc..9c0df6ee 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -12,6 +12,11 @@ jobs: - fedora-all trigger: pull_request +- job: tests + trigger: pull_request + targets: + - fedora-latest-stable + - job: copr_build trigger: commit owner: "@storage" diff --git a/plans/tests.fmf b/plans/tests.fmf new file mode 100644 index 00000000..c84109fb --- /dev/null +++ b/plans/tests.fmf @@ -0,0 +1,9 @@ +summary: Basic smoke test + +prepare: + how: ansible + playbook: misc/install-test-dependencies.yml + +execute: + how: tmt + script: make test