From 57c244492ad479de39b4ac87fcdbf02562202e14 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Fri, 29 May 2026 18:40:48 +0800 Subject: [PATCH] ci: run tests with pytest discovery --- .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 b6ea0de..fe49f33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: set -euo pipefail python -m pip install --upgrade pip python -m pip install -r requirements.txt - python -m pip install ruff + python -m pip install pytest ruff - name: Smoke import pinned shared packages run: | @@ -83,4 +83,4 @@ jobs: - name: Run unit tests run: | set -euo pipefail - python -m unittest discover -s tests -v + PYTHONPATH=. python -m pytest -q tests