Skip to content

Run fuzz tests

Run fuzz tests #554

Workflow file for this run

name: Run fuzz tests
permissions:
contents: read
on:
pull_request:
workflow_dispatch:
schedule:
- cron: '1 5 * * *'
jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/checkout@v4"
- name: "Set up Python"
uses: actions/setup-python@main
with:
python-version: "3.13"
cache: "pip"
- name: Install dependencies
run: pip install -r requirements_test.txt
- name: Set Fuzzing Samples
id: set-param
run: |
if [[ "${{ github.event_name }}" == "schedule" ]]; then
echo "test_param='--max-examples=100000'" >> $GITHUB_ENV
fi
- name: Run fuzz tests
run: pytest tests/test_fuzzing.py --no-cov ${{ env.test_param }}