Skip to content

Commit 597d49a

Browse files
Supratim Damclaude
andcommitted
Fix CI: install from repo checkout instead of PyPI
Package isn't published to PyPI yet, so CI needs to install from the checked-out source with pip install -e . Also adds test step to CI pipeline. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a711b48 commit 597d49a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/growthlint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
python-version: "3.12"
1919

2020
- name: Install GrowthLint
21-
run: pip install growthlint
21+
run: pip install -e .
22+
23+
- name: Run tests
24+
run: python -m pytest tests/ -q
2225

2326
- name: Run GrowthLint scan
2427
run: growthlint scan . --format json --output growthlint-report.json

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ jobs:
269269
- uses: actions/setup-python@v5
270270
with:
271271
python-version: "3.12"
272-
- run: pip install growthlint
272+
- run: pip install -e .
273273
- run: growthlint check-pr . --min-score 60
274274
```
275275

0 commit comments

Comments
 (0)