Skip to content

Commit

Permalink
Merge pull request #471 from scooby/main
Browse files Browse the repository at this point in the history
Recommend using pip for simple poetry projects
  • Loading branch information
marko-zivic-93 committed Jul 26, 2022
2 parents 2f06e9d + e147df2 commit 5df6377
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
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 5df6377

Please sign in to comment.