From 8856a7348f3b53d6634d81c014b40a7ff1389dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Tue, 24 Sep 2024 15:21:39 +0200 Subject: [PATCH] Make it two plans /plans/modified to run only in CI (where trigger=commit is set), running just the modified tests /plans/all if one desires to run all tests --- plans.fmf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plans.fmf b/plans.fmf index f5deb36..9fbb424 100644 --- a/plans.fmf +++ b/plans.fmf @@ -5,8 +5,21 @@ execute: how: tmt /modified: + summary: Plan executing just modified tests (only in CI) + enabled: false + adjust: + - when: trigger == commit + enabled: true discover: how: fmf modified-only: true modified-ref: reference/main modified-url: https://src.fedoraproject.org/tests/ruby + +/all: + summary: For ad-hoc, local execution of these tests (disabled in CI) + adjust: + - when: trigger == commit + enabled: false + discover: + how: fmf