Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
set -euo pipefail
python -m pip install --upgrade pip
python -m pip install -e . pandas pytest ruff
python -m pip install -e . pandas pytest pytest-cov ruff
python -m pip install --no-deps -e external/QuantPlatformKit

- name: Run Ruff
Expand All @@ -62,4 +62,4 @@ jobs:
- name: Run unit tests
run: |
set -euo pipefail
PYTHONPATH=src python -m pytest -q tests
PYTHONPATH=src python -m pytest -q tests --cov --cov-report=term --cov-report=xml
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ where = ["src"]
ignore = ["E701", "E702", "E741", "F841", "F821", "B008", "F401", "F601", "E402"]
target-version = "py311"
line-length = 120

[tool.coverage.run]
branch = true
source = ["src"]
omit = ["tests/*", "*/external/*"]

[tool.coverage.report]
show_missing = true
Loading