Update README.md

Add a section to advise using only pip instead of poetry.
This commit is contained in:
Ben S 2022-07-25 14:22:13 -04:00 committed by GitHub
parent 2f06e9da25
commit e147df2e90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -330,6 +330,19 @@ steps:
- run: poetry run pytest
```
**If you only need poetry install, consider using pip:**
```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
cache-dependency-path: 'poetry.lock'
- run: pip install .
- run: pytest
```
**Using wildcard patterns to cache dependencies**
```yaml
steps: