-
Notifications
You must be signed in to change notification settings - Fork 104
43 lines (35 loc) · 829 Bytes
/
Copy pathci-sanity.yml
File metadata and controls
43 lines (35 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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