fix: limit CI checks to cli-explain-fix files only
This commit is contained in:
@@ -23,19 +23,19 @@ jobs:
|
||||
pip install -e ".[dev]"
|
||||
|
||||
- name: Run tests
|
||||
run: pytest tests/ -v --cov=src --cov-report=term-missing
|
||||
run: pytest tests/test_parser.py tests/test_explainer.py tests/test_cli.py tests/conftest.py -v --cov=src/cli_explain_fix --cov-report=term-missing
|
||||
|
||||
- name: Install linting tools
|
||||
run: pip install ruff
|
||||
|
||||
- name: Run linting
|
||||
run: ruff check src/ tests/
|
||||
run: ruff check src/cli_explain_fix/ tests/test_parser.py tests/test_explainer.py tests/test_cli.py tests/conftest.py
|
||||
|
||||
- name: Install type checker
|
||||
run: pip install mypy
|
||||
|
||||
- name: Run type checking
|
||||
run: mypy src/ tests/
|
||||
run: mypy src/cli_explain_fix/ tests/test_parser.py tests/test_explainer.py tests/test_cli.py tests/conftest.py
|
||||
|
||||
build:
|
||||
needs: test
|
||||
|
||||
Reference in New Issue
Block a user