From 0a93fc3aa67039a84aaf3d2d6bae30b27c0ec638 Mon Sep 17 00:00:00 2001 From: "Schmieder, Jacob" Date: Mon, 2 Sep 2024 08:34:30 +0000 Subject: [PATCH] add paths to pytest to only trigger on python related changes --- .github/workflows/pytest.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index aac8afe..f204c7d 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -2,7 +2,14 @@ name: Run Tests on: pull_request: - branches: ['main', 'develop'] + branches: + - main + - develop + paths: + - scraibe/** + - pyproject.toml + - requirements.txt + - test/** workflow_dispatch: jobs: