From 07c8458d642fa0293cf7433f7dca8860e9013e33 Mon Sep 17 00:00:00 2001 From: Maxime <672982+maximegmd@users.noreply.github.com> Date: Thu, 21 Sep 2023 04:02:04 +0200 Subject: [PATCH] Only run tests when a change to python files is made (#614) * Update tests.yml * Update .github/workflows/tests.yml --------- Co-authored-by: Wing Lian --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 18ff575c10..4da10a6c35 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,7 +4,11 @@ on: push: branches: - "main" + paths: + - '**.py' pull_request: + paths: + - '**.py' workflow_dispatch: jobs: