Skip to content

Commit 522e49c

Browse files
committed
poetry export | pip install
poetry bug #1204
1 parent 5979edc commit 522e49c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,15 @@ jobs:
4343
# Look to see if there is a cache hit for the corresponding requirements file
4444
key: ${{ matrix.platform }}-${{ matrix.python }}-pyproject.toml-${{ hashFiles('pyproject.toml') }}
4545
restore-keys: |
46-
${{ runner.os }}-${{ matrix.python }}-pyproject.toml-${{hashFiles('pyproject.toml')}}}
46+
${{ matrix.platform }}-${{ matrix.python }}-pyproject.toml-${{hashFiles('pyproject.toml')}}}
4747
4848
- name: Install Python dependencies
4949
run: |
5050
sudo apt-get install -y python-setuptools python3-setuptools
5151
pip install poetry
5252
poetry config virtualenvs.create false
53-
poetry install
53+
poetry export --dev --without-hashes -o requirements-${{matrix.platform}}-${{matrix.python}}.txt
54+
pip install -r requirements-${{matrix.platform}}-${{matrix.python}}.txt
5455
5556
- name: Cache Redis
5657
id: cache-redis

0 commit comments

Comments
 (0)