Skip to content

Commit 0075816

Browse files
author
Nick Sullivan
committed
🔧 Simplify Python test execution in CI workflow
Remove unnecessary pip upgrade and simplify pytest command by using the CLI directly instead of the module syntax
1 parent 7de5139 commit 0075816

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,14 @@ jobs:
4747
4848
- name: Install dependencies
4949
run: |
50-
python -m pip install --upgrade pip
5150
python -m pip install pytest pytest-cov build
5251
cd python
5352
python -m pip install -e .
5453
5554
- name: Run tests with coverage
5655
run: |
5756
cd python
58-
python -m pytest tests/ --cov=heart_centered_prompts --cov-report=term
57+
pytest --cov=heart_centered_prompts --cov-report=term
5958
6059
- name: Build package
6160
run: |

0 commit comments

Comments
 (0)