Skip to content

Fuzzing

Fuzzing #769

Workflow file for this run

#
# CI runs short-form fuzz testing (100 iterations), this performs larger set of
# iterations on a schedule (currently 100k, daily).
#
name: Fuzzing
on:
schedule:
- cron: '0 3 * * *' # 0300 each day
jobs:
fuzz_testing:
name: "Fuzz Testing"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.10 x64
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: x64
- name: Install Requirements
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade numpy==1.* cython
python -m pip install --upgrade -r $GITHUB_WORKSPACE/requirements.txt
python -m pip install --upgrade -r $GITHUB_WORKSPACE/tests/requirements.txt
python setup.py build_ext --inplace
- name: Execute Tests
run: python -m pytest tests/fuzzing/.
env:
TEST_ITERATIONS: 100000