|
55 | 55 | name: "Build CTC decoder Python package for testing" |
56 | 56 | needs: [ swig_macOS ] |
57 | 57 | runs-on: macos-10.15 |
| 58 | + if: ${{ github.event_name == 'pull_request' }} |
58 | 59 | steps: |
59 | 60 | - uses: actions/checkout@v2 |
60 | 61 | with: |
|
87 | 88 | name: "Train a test model" |
88 | 89 | needs: [ "build-ctc-decoder" ] |
89 | 90 | runs-on: macos-10.15 |
| 91 | + if: ${{ github.event_name == 'pull_request' }} |
90 | 92 | strategy: |
91 | 93 | matrix: |
92 | 94 | bitrate: ["8k", "16k"] |
@@ -328,6 +330,7 @@ jobs: |
328 | 330 | name: "Test C++ binary on macOS" |
329 | 331 | runs-on: macos-10.15 |
330 | 332 | needs: [ build-lib_macOS, train-test-model ] |
| 333 | + if: ${{ github.event_name == 'pull_request' }} |
331 | 334 | strategy: |
332 | 335 | matrix: |
333 | 336 | build-flavor: ["tf", "tflite"] |
@@ -368,6 +371,7 @@ jobs: |
368 | 371 | name: "Test Python bindings on macOS" |
369 | 372 | runs-on: macos-10.15 |
370 | 373 | needs: [ build-python-macOS, train-test-model ] |
| 374 | + if: ${{ github.event_name == 'pull_request' }} |
371 | 375 | strategy: |
372 | 376 | matrix: |
373 | 377 | python-version: [3.6.8, 3.7.9, 3.8.8, 3.9.2] |
@@ -412,6 +416,7 @@ jobs: |
412 | 416 | name: "Test NodeJS bindings on macOS" |
413 | 417 | runs-on: macos-10.15 |
414 | 418 | needs: [ build-nodejs-macOS, train-test-model ] |
| 419 | + if: ${{ github.event_name == 'pull_request' }} |
415 | 420 | strategy: |
416 | 421 | matrix: |
417 | 422 | nodejs-version: [10, 11, 12, 13, 14, 15] |
@@ -456,6 +461,7 @@ jobs: |
456 | 461 | name: "Test ElectronJS bindings on macOS" |
457 | 462 | runs-on: macos-10.15 |
458 | 463 | needs: [ build-nodejs-macOS, train-test-model ] |
| 464 | + if: ${{ github.event_name == 'pull_request' }} |
459 | 465 | strategy: |
460 | 466 | matrix: |
461 | 467 | electronjs-version: [5.0.13, 6.0.12, 6.1.7, 7.0.1, 7.1.8, 8.0.1, 9.0.1, 9.1.0, 9.2.0, 10.0.0, 10.1.0, 11.0.0, 12.0.0] |
|
0 commit comments