Skip to content

Commit 3f52ff1

Browse files
committed
pipeline bugfix
1 parent 5b1d8e7 commit 3f52ff1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
uses: actions/cache@preview
4141
with:
4242
path: ~/.cache/pypoetry/virtualenvs
43-
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.deps-version }}-poetry-${{ hashFiles(format('{0}{1}', github.workspace, '/poetry.lock')) }}
43+
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.deps-version }}-venv-${{ hashFiles(format('{0}{1}', github.workspace, '/poetry.lock')) }}
4444
restore-keys: |
45-
${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.deps-version }}-poetry-
45+
${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.deps-version }}-venv-
4646
- name: Poetry cache
4747
uses: actions/cache@preview
4848
with:
@@ -53,13 +53,14 @@ jobs:
5353
- name: Install Python dependencies
5454
run: |
5555
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
56-
pip install poetry
5756
$HOME/.poetry/bin/poetry install
58-
$HOME/.poetry/bin/poetry run pip list
5957
- name: Use lowest dependencies versions
6058
if: matrix.deps-version == 'lowest'
6159
run: |
6260
$HOME/.poetry/bin/poetry run pip install asyncpg==0.18 SQLAlchemy==1.3
61+
- name: List installed packages
62+
run: |
63+
$HOME/.poetry/bin/poetry run pip list
6364
- name: Test with pytest
6465
env:
6566
DB_HOST: localhost

0 commit comments

Comments
 (0)