Some checks failed
CI / test (push) Failing after 23s
- Removed unused imports from test files (os, pytest, pathlib.Path, MagicMock, patch, numpy, sqlite3, IndexingService) - Updated CI workflow to only check shell-history-semantic-search project files instead of all files in shared src/ and tests/ directories - All 43 tests pass locally
20 lines
581 B
YAML
20 lines
581 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- run: pip install -e ".[dev]"
|
|
- run: pytest tests/test_cli.py tests/test_embeddings.py tests/test_parsers.py tests/test_search.py tests/conftest.py -v --tb=short
|
|
- run: ruff check src/shell_history_search/ tests/test_cli.py tests/test_embeddings.py tests/test_parsers.py tests/test_search.py tests/conftest.py
|