From 01d596182e6dc1322ec2ccb7068a550ab723638a Mon Sep 17 00:00:00 2001 From: fabiocat93 Date: Wed, 18 Sep 2024 11:45:16 +0200 Subject: [PATCH] reorganizing tests #3 --- .github/workflows/github-runner-tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/github-runner-tests.yaml b/.github/workflows/github-runner-tests.yaml index 7e6dc6da..f24ce566 100644 --- a/.github/workflows/github-runner-tests.yaml +++ b/.github/workflows/github-runner-tests.yaml @@ -2,8 +2,11 @@ name: github-runner-tests on: pull_request: + types: [opened, synchronize, reopened, labeled] + jobs: macos-tests: + if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'to-test') name: macOS-tests runs-on: ${{ matrix.os }} strategy: @@ -58,6 +61,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} pre-commit: + if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'to-test') runs-on: ${{ matrix.os }} strategy: matrix: