Exclude a few more jobs from non-PR triggers

This commit is contained in:
Reuben Morais 2021-07-13 18:00:01 +02:00
parent 7b7f52f44c
commit f1c0559406
1 changed files with 3 additions and 0 deletions

View File

@ -613,6 +613,7 @@ jobs:
name: "Lin|Basic training tests" name: "Lin|Basic training tests"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
needs: [build-ctc-decoder-Linux] needs: [build-ctc-decoder-Linux]
if: ${{ github.event_name == 'pull_request' }}
strategy: strategy:
matrix: matrix:
bitrate: [8k, 16k] bitrate: [8k, 16k]
@ -657,6 +658,7 @@ jobs:
name: "Lin|Extra training tests" name: "Lin|Extra training tests"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
needs: [build-ctc-decoder-Linux] needs: [build-ctc-decoder-Linux]
if: ${{ github.event_name == 'pull_request' }}
strategy: strategy:
matrix: matrix:
bitrate: [8k, 16k] bitrate: [8k, 16k]
@ -1537,6 +1539,7 @@ jobs:
name: "Win|Test C++ binary" name: "Win|Test C++ binary"
runs-on: windows-2019 runs-on: windows-2019
needs: [build-lib_Windows, train-test-model-Linux] needs: [build-lib_Windows, train-test-model-Linux]
if: ${{ github.event_name == 'pull_request' }}
strategy: strategy:
matrix: matrix:
build-flavor: ["tf", "tflite"] build-flavor: ["tf", "tflite"]