Skip to content

Commit f1c0559

Browse files
committed
Exclude a few more jobs from non-PR triggers
1 parent 7b7f52f commit f1c0559

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ jobs:
613613
name: "Lin|Basic training tests"
614614
runs-on: ubuntu-20.04
615615
needs: [build-ctc-decoder-Linux]
616+
if: ${{ github.event_name == 'pull_request' }}
616617
strategy:
617618
matrix:
618619
bitrate: [8k, 16k]
@@ -657,6 +658,7 @@ jobs:
657658
name: "Lin|Extra training tests"
658659
runs-on: ubuntu-20.04
659660
needs: [build-ctc-decoder-Linux]
661+
if: ${{ github.event_name == 'pull_request' }}
660662
strategy:
661663
matrix:
662664
bitrate: [8k, 16k]
@@ -1537,6 +1539,7 @@ jobs:
15371539
name: "Win|Test C++ binary"
15381540
runs-on: windows-2019
15391541
needs: [build-lib_Windows, train-test-model-Linux]
1542+
if: ${{ github.event_name == 'pull_request' }}
15401543
strategy:
15411544
matrix:
15421545
build-flavor: ["tf", "tflite"]

0 commit comments

Comments
 (0)