From a793e5735709f837f8d4b1a0674ab15a3b75a9dd Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Tue, 30 Jun 2026 22:34:18 +0800 Subject: [PATCH] feat: add coverage config and pytest-cov to CI Co-Authored-By: Claude --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c37349..c51f84c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: run: | set -euo pipefail python -m pip install --upgrade pip - python -m pip install -e . numpy pandas ruff + python -m pip install -e . numpy pandas pytest pytest-cov ruff python -m pip install --no-deps -e external/QuantPlatformKit - name: Run Ruff @@ -54,4 +54,4 @@ jobs: - name: Run unit tests run: | set -euo pipefail - python -m unittest discover -s tests -v + python -m pytest -q tests --cov --cov-report=term --cov-report=xml