File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,24 @@ jobs:
5353 with :
5454 python-version : ${{ matrix.python-version }}
5555
56+ - name : Create a venv
57+ run : python -m venv ~/venv/.cache
58+ - name : Install the package
59+ run : ~/venv/.cache/bin/pip install .
60+ - name : Check that it runs
61+ run : ~/venv/.cache/bin/nps lint
62+
5663 - uses : Gr1N/setup-poetry@v8
5764 with :
5865 poetry-version : ${{ env.POETRY_VERSION }}
5966 - uses : actions/cache@v2
6067 with :
6168 path : ~/.cache/pypoetry/virtualenvs
6269 key : ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
70+ - uses : actions/cache@v2
71+ with :
72+ path : ~/venv/.cache
73+ key : ${{ runner.os }}-venv-${{ hashFiles('poetry.lock') }}
6374 - name : Install the Package
6475 run : poetry install
6576 - name : Run tests
You can’t perform that action at this time.
0 commit comments