Skip to content

Commit 2e0b933

Browse files
CopilotRouthleck
andauthored
Fix Windows CI: Use python -m pytest instead of pytest command (#811)
* Initial plan * Fix Windows CI pytest command to use python -m pytest Co-authored-by: Routhleck <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Routhleck <[email protected]>
1 parent fc487d1 commit 2e0b933

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/CI-models.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ jobs:
8181
pip install -e .
8282
- name: Test with pytest
8383
run: |
84-
pytest tests/
84+
python -m pytest tests/

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@ jobs:
112112
env:
113113
MPLBACKEND: Agg # Use non-interactive backend for matplotlib
114114
run: |
115-
pytest brainpy/
115+
python -m pytest brainpy/

0 commit comments

Comments
 (0)