File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,17 @@ jobs:
2121 - name : Install dependencies
2222 run : |
2323 python -m pip install --upgrade pip
24+ # Install the project in editable mode to pick up changes
2425 pip install -e .
25- pip install pytest typer numpy
26- # Note: Ideally, you should fix your requirements.txt and use:
27- # pip install .
28- # Or at least:
29- # pip install -r requirements.txt
30- # But due to the encoding and importlib issues observed,
31- # installing specific dependencies needed for tests directly for now.
26+ # Install test dependencies, including pytest-cov for coverage
27+ pip install pytest typer numpy pytest-cov
28+ # Note: Ideally, dependencies should be managed via requirements-dev.txt
29+ # Consider adding pytest-cov to requirements-dev.txt later.
3230
33- - name : Run tests
31+ - name : Run tests with coverage
3432 run : |
35- python -m pytest tests/analyze/
33+ # Run pytest on the entire tests directory
34+ # Generate coverage report for specified source directories
35+ # Report missing lines directly in the terminal output
36+ python -m pytest tests/ --cov=spice --cov=cli --cov=utils --cov=parser --cov=lexers --cov-report=term-missing
37+
You can’t perform that action at this time.
0 commit comments