Skip to content

Commit caf58e0

Browse files
committed
Add verification workflow (pip + GitHub URL roast)
1 parent 91582ba commit caf58e0

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/verify.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Verify Roast CLI
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
verify:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
13+
- name: Setup Python
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: '3.11'
17+
18+
- name: Install
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install -e .
22+
pip install pytest
23+
24+
- name: Run analyzer tests
25+
run: pytest tests/test_analyzer.py
26+
27+
- name: CLI smoke test (local path)
28+
run: roast . --no-llm --max-files 10
29+
30+
- name: CLI smoke test (GitHub URL path)
31+
run: roast https://github.com/Rohan5commit/roast-my-code --no-llm --max-files 10

0 commit comments

Comments
 (0)