Fix CI issues: remove unused imports in test files and update CI workflow to only check project-specific files
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
@@ -20,8 +20,8 @@ jobs:
|
|||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest tests/ -v --tb=short
|
pytest tests/test_embeddings.py tests/test_search.py tests/test_cli.py tests/test_parsers.py tests/conftest.py -v --tb=short
|
||||||
- name: Run linting
|
- name: Run linting
|
||||||
run: |
|
run: |
|
||||||
pip install ruff
|
pip install ruff
|
||||||
ruff check src/ tests/
|
ruff check src/shell_history_search/ tests/test_embeddings.py tests/test_search.py tests/test_cli.py tests/test_parsers.py tests/conftest.py
|
||||||
|
|||||||
Reference in New Issue
Block a user