From 400cecaf5888ae99bd0c9d9ed378c2d4fbce6c7c Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Tue, 17 Jan 2023 12:48:00 +0100 Subject: [PATCH] chore(ci): add pre-commit to tmt plans Signed-off-by: Matej Focko --- plans/pre-commit.fmf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 plans/pre-commit.fmf diff --git a/plans/pre-commit.fmf b/plans/pre-commit.fmf new file mode 100644 index 00000000..176e1f5a --- /dev/null +++ b/plans/pre-commit.fmf @@ -0,0 +1,19 @@ +summary: + Execute pre-commit checks on the repository. + +discover: + how: shell + tests: + - name: pre-commit checks + test: pre-commit run --all-files --hook-stage manual --verbose + +prepare: +- name: Install pre-commit and its dependencies + how: install + package: + - git-core + - python + - pre-commit + +execute: + how: tmt