File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99- Package manager: [ uv] ( https://github.com/astral-sh/uv ) - always use ` uv run ` for development commands
1010- Linter/Formatter: [ ruff] ( https://github.com/astral-sh/ruff ) - configured in pyproject.toml
1111- Type checker: [ ty] ( https://github.com/astral-sh/ty ) - use ` uv run ty check `
12- - Test framework: unittest
12+ - Test framework: pytest
1313- Build backend: uv_build
1414
1515## Code Conventions
Original file line number Diff line number Diff line change 2626 run : uv sync --dev
2727
2828 - name : Run tests
29- run : uv run python -m unittest discover tests/
29+ run : uv run pytest
3030
3131 coverage :
3232 runs-on : ubuntu-latest
4343
4444 - name : Run tests with coverage
4545 run : |
46- uv run coverage run -m unittest discover tests/
47- uv run coverage report
48- uv run coverage xml
46+ uv run pytest --cov --cov-branch --cov-report=term --cov-report=xml
4947
5048 - name : Upload coverage to Codecov
5149 uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ Documentation = "https://rocky-d.github.io/dttb/"
3636[dependency-groups ]
3737dev = [
3838 " coverage>=7.6.1" ,
39+ " pytest>=8.0.0" ,
40+ " pytest-cov>=5.0.0" ,
3941 " python-dotenv>=1.0.1" ,
4042 " pyyaml>=6.0.3" ,
4143 " ruff>=0.15.0" ,
You can’t perform that action at this time.
0 commit comments