chore(repo): add LICENSE, CI workflow, and untrack local config
Public-repo hygiene now that the project is hosted on Forgejo: - LICENSE: add the MIT text that pyproject.toml already declares. - .forgejo/workflows/ci.yml: run the pytest suite on push/PR against Python 3.10 and 3.12, so regressions (e.g. the healthcheck port bug) get caught automatically. - Untrack llama.cpp.config and gitignore it: it is a machine-specific runtime config that may later hold an api_key. The tracked template remains llama.cpp.config.example (copy it to get started). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
d5a69e8bf8
commit
d72361cbae
4 changed files with 52 additions and 79 deletions
27
.forgejo/workflows/ci.yml
Normal file
27
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# requires-python = ">=3.10"; test the floor and a recent version.
|
||||
python-version: ["3.10", "3.12"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install package with dev extras
|
||||
run: pip install -e ".[dev]"
|
||||
|
||||
- name: Run test suite
|
||||
run: pytest -q
|
||||
Loading…
Add table
Add a link
Reference in a new issue