File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 40
40
uses : actions/cache@preview
41
41
with :
42
42
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')) }}
44
44
restore-keys : |
45
- ${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.deps-version }}-poetry -
45
+ ${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.deps-version }}-venv -
46
46
- name : Poetry cache
47
47
uses : actions/cache@preview
48
48
with :
@@ -53,13 +53,14 @@ jobs:
53
53
- name : Install Python dependencies
54
54
run : |
55
55
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
56
- pip install poetry
57
56
$HOME/.poetry/bin/poetry install
58
- $HOME/.poetry/bin/poetry run pip list
59
57
- name : Use lowest dependencies versions
60
58
if : matrix.deps-version == 'lowest'
61
59
run : |
62
60
$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
63
64
- name : Test with pytest
64
65
env :
65
66
DB_HOST : localhost
You can’t perform that action at this time.
0 commit comments