From e5ee49c91c7e748d0264c6e6abd8944f5bf32063 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 13:23:14 +0000 Subject: [PATCH 1/2] Initial plan From 653dd7110cf2ed1b563b8e0a6848f9b0ac3689e8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 13:25:38 +0000 Subject: [PATCH 2/2] Fix Windows CI pytest command to use python -m pytest Co-authored-by: Routhleck <88108241+Routhleck@users.noreply.github.com> --- .github/workflows/CI-models.yml | 2 +- .github/workflows/CI.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI-models.yml b/.github/workflows/CI-models.yml index 7268d200..f1755260 100644 --- a/.github/workflows/CI-models.yml +++ b/.github/workflows/CI-models.yml @@ -81,4 +81,4 @@ jobs: pip install -e . - name: Test with pytest run: | - pytest tests/ + python -m pytest tests/ diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 670530eb..814a28a1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -112,4 +112,4 @@ jobs: env: MPLBACKEND: Agg # Use non-interactive backend for matplotlib run: | - pytest brainpy/ + python -m pytest brainpy/