From 094b99a4adc62563714f8bd9e8726c756eba7b66 Mon Sep 17 00:00:00 2001 From: Paul Wallrabe Date: Wed, 27 May 2026 12:22:53 +0200 Subject: [PATCH] ci: skip e2e and python tests for docs-only changes The path filter `python/**` matches documentation and README files, causing the full e2e and pytest suites to run on docs-only PRs. Exclude `python/docs/**` and `python/**/*.md` so that documentation changes only trigger the documentation workflow. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/e2e.yaml | 2 ++ .github/workflows/python-tests.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index a95c39172..2b32dd804 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -33,6 +33,8 @@ jobs: - 'controller/**' - 'e2e/**' - 'python/**' + - '!python/docs/**' + - '!python/**/*.md' - '.github/workflows/e2e.yaml' - 'Makefile' diff --git a/.github/workflows/python-tests.yaml b/.github/workflows/python-tests.yaml index 8c979e1a6..ab8e8d33a 100644 --- a/.github/workflows/python-tests.yaml +++ b/.github/workflows/python-tests.yaml @@ -31,6 +31,8 @@ jobs: filters: | python: - 'python/**' + - '!python/docs/**' + - '!python/**/*.md' - '.github/workflows/python-tests.yaml' renode_driver: - 'python/packages/jumpstarter-driver-renode/**'