Skip to content

Commit 5471b29

Browse files
committed
Add pytest workflow and update makefile for coverage
Signed-off-by: Mihai Criveti <[email protected]>
1 parent 962b017 commit 5471b29

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pytest.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ jobs:
6060
# -----------------------------------------------------------
6161
# 2️⃣ Install project + dev/test dependencies
6262
# -----------------------------------------------------------
63-
- name: 📦 Install dependencies
63+
- name: 📦 Install dependencies (editable + dev extra)
6464
run: |
6565
python -m pip install --upgrade pip
66-
# Install mcpgateway with its dev extras (defined in pyproject.toml)
67-
# This is the same as: make install-dev
68-
pip install '.[dev]'
69-
# Ensure core testing tools are present (no-ops if already satisfied)
66+
# install the project itself in *editable* mode so tests import the same codebase
67+
# and pull in every dev / test extra declared in pyproject.toml
68+
pip install -e .[dev]
69+
# belt-and-braces – keep the core test tool-chain pinned here too
7070
pip install pytest pytest-cov pytest-asyncio coverage[toml]
7171
7272
# -----------------------------------------------------------

0 commit comments

Comments
 (0)