-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (46 loc) · 1.36 KB
/
roast-famous.yml
File metadata and controls
53 lines (46 loc) · 1.36 KB
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
44
45
46
47
48
49
50
51
52
53
name: Roast Famous Repos
on:
workflow_dispatch:
jobs:
roast:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: requests
url: https://github.com/psf/requests
- name: django
url: https://github.com/django/django
- name: flask
url: https://github.com/pallets/flask
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install package
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Roast repo
env:
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
NVIDIA_NIM_API_KEY: ${{ secrets.NVIDIA_NIM_API_KEY }}
run: |
mkdir -p reports
roast "${{ matrix.url }}" \
--provider auto \
--model llama-3.3-70b-versatile \
--backup-provider nim \
--backup-model microsoft/phi-4-mini-instruct \
--max-files 40 \
--output "reports/${{ matrix.name }}.html" \
| tee "reports/${{ matrix.name }}.txt"
- name: Upload report artifact
uses: actions/upload-artifact@v4
with:
name: roast-${{ matrix.name }}
path: reports/