|
@ -60,15 +60,15 @@ jobs: |
|
|
|
|
|
|
|
|
- name: Set crashers count |
|
|
- name: Set crashers count |
|
|
working-directory: test/fuzz |
|
|
working-directory: test/fuzz |
|
|
run: echo "::set-output name=crashers-count::$(find . -type d -name 'crashers' | xargs -I % sh -c 'ls % | wc -l' | awk '{total += $1} END {print total}')" |
|
|
|
|
|
|
|
|
run: echo "::set-output name=count::$(find . -type d -name 'crashers' | xargs -I % sh -c 'ls % | wc -l' | awk '{total += $1} END {print total}')" |
|
|
id: set-crashers-count |
|
|
id: set-crashers-count |
|
|
|
|
|
|
|
|
outputs: |
|
|
outputs: |
|
|
crashers-count: ${{ steps.set-crashers-count.outputs.crashers-count }} |
|
|
|
|
|
|
|
|
crashers-count: ${{ steps.set-crashers-count.outputs.count }} |
|
|
|
|
|
|
|
|
fuzz-nightly-fail: |
|
|
fuzz-nightly-fail: |
|
|
needs: fuzz-nightly-test |
|
|
needs: fuzz-nightly-test |
|
|
if: ${{ needs.set-crashers-count.outputs.crashers-count != 0 }} |
|
|
|
|
|
|
|
|
if: ${{ needs.fuzz-nightly-test.outputs.crashers-count != 0 }} |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- name: Notify Slack if any crashers |
|
|
- name: Notify Slack if any crashers |
|
|