Fuzzing #480
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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@v3 | |
- name: Set up Python 3.10 x64 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
architecture: x64 | |
- name: Install Requirements | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade opteryx | |
python -m pip install --upgrade -r $GITHUB_WORKSPACE/tests/requirements.txt | |
- name: Execute Tests | |
run: python -m pytest tests/fuzzing/. | |
env: | |
TEST_ITERATIONS: 100000 | |