From e3cad1e5617c0126e09ebcf6a55174bfc66289d0 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Mon, 15 Sep 2025 13:31:31 +0200 Subject: [PATCH] chore(tests): Test only when it's necessary Pushing documentation, README.md or install.sh should not launch go test --- .gitea/workflows/go-test.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/go-test.yaml b/.gitea/workflows/go-test.yaml index 58f054d..fa1369c 100644 --- a/.gitea/workflows/go-test.yaml +++ b/.gitea/workflows/go-test.yaml @@ -5,10 +5,18 @@ on: types: - opened - edited + paths-ignore: + - "doc/**" + - "README.md" + - "*.sh" push: branches: - "master" - "main" + paths-ignore: + - "doc/**" + - "README.md" + - "*.sh" env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}