Generate parser before running fuzzer tests (#144)

pull/813/head
Patrick Förster 2024-07-18 16:45:19 +07:00 committed by GitHub
parent 2850a4076a
commit 5b6b442b2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

@ -65,6 +65,11 @@ jobs:
else
printf 'changed=true\n' >> "$GITHUB_OUTPUT"
fi
- name: Run parser and binding tests
uses: tree-sitter/parser-test-action@v2
with:
generate: true
if: steps.scanner-check.outputs.changed == 'true'
- name: Run the fuzzer
uses: tree-sitter/fuzz-action@v4
if: steps.scanner-check.outputs.changed == 'true'