Skip to content

Commit 5df6377

Browse files
Merge pull request #471 from scooby/main
Recommend using pip for simple poetry projects
2 parents 2f06e9d + e147df2 commit 5df6377

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,19 @@ steps:
330330
- run: poetry run pytest
331331
```
332332
333+
**If you only need poetry install, consider using pip:**
334+
```yaml
335+
steps:
336+
- uses: actions/checkout@v3
337+
- uses: actions/setup-python@v4
338+
with:
339+
python-version: '3.9'
340+
cache: 'pip'
341+
cache-dependency-path: 'poetry.lock'
342+
- run: pip install .
343+
- run: pytest
344+
```
345+
333346
**Using wildcard patterns to cache dependencies**
334347
```yaml
335348
steps:

0 commit comments

Comments
 (0)