Skip to content

Commit a1e3078

Browse files
committed
Add workflow to roast 3 famous repos
1 parent c2adecf commit a1e3078

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

.github/workflows/roast-famous.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Roast Famous Repos
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
roast:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
include:
13+
- name: requests
14+
url: https://github.com/psf/requests
15+
- name: django
16+
url: https://github.com/django/django
17+
- name: flask
18+
url: https://github.com/pallets/flask
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: '3.11'
28+
29+
- name: Install package
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install -e .
33+
34+
- name: Roast repo
35+
env:
36+
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
37+
NVIDIA_NIM_API_KEY: ${{ secrets.NVIDIA_NIM_API_KEY }}
38+
run: |
39+
mkdir -p reports
40+
roast "${{ matrix.url }}" \
41+
--provider auto \
42+
--model llama-3.3-70b-versatile \
43+
--backup-provider nim \
44+
--backup-model microsoft/phi-4-mini-instruct \
45+
--max-files 40 \
46+
--output "reports/${{ matrix.name }}.html" \
47+
| tee "reports/${{ matrix.name }}.txt"
48+
49+
- name: Upload report artifact
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: roast-${{ matrix.name }}
53+
path: reports/

0 commit comments

Comments
 (0)