Skip to content

Commit 3806b6b

Browse files
kenibrewerclaude
andcommitted
🐛 fix: use python -m pytest for CI test execution
- Change uv run pytest to uv run python -m pytest - Ensures pytest module is properly accessible in CI environment - Fixes 'Failed to spawn: pytest' error 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 057444e commit 3806b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-approval-automation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434

3535
- name: Run tests
3636
working-directory: .github/workflows/lib
37-
run: uv run pytest tests/ -v
37+
run: uv run python -m pytest tests/ -v
3838

3939
- name: Run tests with coverage
4040
working-directory: .github/workflows/lib
41-
run: uv run pytest tests/ --cov=. --cov-report=json --cov-report=lcov --cov-report=html
41+
run: uv run python -m pytest tests/ --cov=. --cov-report=json --cov-report=lcov --cov-report=html
4242

4343
- name: Upload coverage reports
4444
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)