From f1c05594067abd623e21b7fde037ffa7d9388643 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Tue, 13 Jul 2021 18:00:01 +0200 Subject: [PATCH] Exclude a few more jobs from non-PR triggers --- .github/workflows/build-and-test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 474a85b2..be3556cf 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -613,6 +613,7 @@ jobs: name: "Lin|Basic training tests" runs-on: ubuntu-20.04 needs: [build-ctc-decoder-Linux] + if: ${{ github.event_name == 'pull_request' }} strategy: matrix: bitrate: [8k, 16k] @@ -657,6 +658,7 @@ jobs: name: "Lin|Extra training tests" runs-on: ubuntu-20.04 needs: [build-ctc-decoder-Linux] + if: ${{ github.event_name == 'pull_request' }} strategy: matrix: bitrate: [8k, 16k] @@ -1537,6 +1539,7 @@ jobs: name: "Win|Test C++ binary" runs-on: windows-2019 needs: [build-lib_Windows, train-test-model-Linux] + if: ${{ github.event_name == 'pull_request' }} strategy: matrix: build-flavor: ["tf", "tflite"]