Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add a section to advise using only pip instead of poetry.
  • Loading branch information
scooby committed Jul 25, 2022
1 parent 2f06e9d commit e147df2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e147df2

Please sign in to comment.