From 9f0f678c65092434ef680dfccf7d00c34dfb50dc Mon Sep 17 00:00:00 2001 From: Timmeh Date: Mon, 28 Nov 2022 22:49:34 +0100 Subject: [PATCH] Run unittests on changed python files and PR's Signed-off-by: Tim van Katwijk --- .github/workflows/unittests.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 990304f..b9cc385 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -2,12 +2,18 @@ name: Unittests on: pull_request: - + branches: + - master + - release_* + paths: + - '**.py' push: branches: - master - release_* - + paths: + - '**.py' + jobs: test: name: Python ${{ matrix.os.python }} tests on ${{ matrix.os.name }}-${{ matrix.os.version }}