Skip to content

Add file

Add file #18

Workflow file for this run

name: CI Sanity
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
workflow_dispatch:
permissions:
contents: read
jobs:
python-sanity:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Syntax check
run: |
python -m py_compile evilwaf.py core/*.py chemistry/*.py
- name: CLI smoke check
run: |
python evilwaf.py -h > /tmp/evilwaf_help.txt
test -s /tmp/evilwaf_help.txt