File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ lint :
11+ name : Lint
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : " 3.12"
20+
21+ - name : Install uv
22+ run : pip install uv
23+
24+ - name : Install dependencies
25+ run : uv sync --extra dev
26+
27+ - name : Lint with ruff
28+ run : uv run ruff check adscan_core adscan_launcher
29+
30+ test :
31+ name : Unit Tests
32+ runs-on : ubuntu-latest
33+ steps :
34+ - uses : actions/checkout@v4
35+
36+ - name : Set up Python
37+ uses : actions/setup-python@v5
38+ with :
39+ python-version : " 3.12"
40+
41+ - name : Install uv
42+ run : pip install uv
43+
44+ - name : Install dependencies
45+ run : uv sync --extra dev
46+
47+ - name : Run unit tests
48+ run : uv run pytest -m unit --maxfail=5 --disable-warnings -q
You can’t perform that action at this time.
0 commit comments