Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
branches: [main]
pull_request:

# No secrets, no untrusted input (no github.event.* interpolation): static commands only.
permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Versions (jq + shellcheck are preinstalled on ubuntu-latest)
run: |
jq --version
shellcheck --version | sed -n '1,2p'

- name: Make scripts executable
run: chmod +x bin/*.sh bin/modelfit bin/lib/*.sh tests/curl

- name: selftest (zero API spend, runs against the mock provider)
run: ./bin/selftest.sh

- name: shellcheck (catches word-splitting / SC2086 etc.)
run: shellcheck bin/run.sh bin/judge.sh bin/report.sh bin/doctor.sh bin/selftest.sh bin/scan-secrets.sh bin/modelfit bin/lib/common.sh tests/curl tests/reliability.test.sh
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ModelFit

[![CI](https://github.com/kwadwoadu/modelfit/actions/workflows/ci.yml/badge.svg)](https://github.com/kwadwoadu/modelfit/actions/workflows/ci.yml)

**Find the best LLM for your codebase—not someone else’s benchmark.**

![ModelFit running a probe across candidate models, blind-judging, and ranking them](assets/demo.gif)
Expand Down
Loading