fix: limit CI checks to cli-explain-fix files only
This commit is contained in:
@@ -23,19 +23,19 @@ jobs:
|
|||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
|
|
||||||
- name: Run tests
|
- 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
|
- name: Install linting tools
|
||||||
run: pip install ruff
|
run: pip install ruff
|
||||||
|
|
||||||
- name: Run linting
|
- 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
|
- name: Install type checker
|
||||||
run: pip install mypy
|
run: pip install mypy
|
||||||
|
|
||||||
- name: Run type checking
|
- 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:
|
build:
|
||||||
needs: test
|
needs: test
|
||||||
|
|||||||
Reference in New Issue
Block a user