Skip to content

USTORY-549: Provide model name command line argument #156

USTORY-549: Provide model name command line argument

USTORY-549: Provide model name command line argument #156

Workflow file for this run

name: Tests
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -e .[dev]
- name: Run tests
env:
LLAMA_MODEL_PATH: /fake/path/to/model.gguf
LLAMA_CLI_PATH: /fake/path/to/llama-cli
LLAMA_SERVER_URL: http://localhost:8080
OPENAI_API_KEY: fake-api-key
run: |
pytest -vv || [ $? -eq 5 ]