From e147df2e90bcf8cfc14e3204eb6971371601f276 Mon Sep 17 00:00:00 2001 From: Ben S Date: Mon, 25 Jul 2022 14:22:13 -0400 Subject: [PATCH] Update README.md Add a section to advise using only pip instead of poetry. --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index cb1700457..7447c44b5 100644 --- a/README.md +++ b/README.md @@ -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: