Fix poetry install in tests
This commit is contained in:
parent
17ac650531
commit
6dceeb2427
1 changed files with 4 additions and 4 deletions
|
@ -15,14 +15,14 @@ tasks:
|
||||||
- install_poetry: |
|
- install_poetry: |
|
||||||
mkdir $HOME/bin
|
mkdir $HOME/bin
|
||||||
ln -s $(which python3.9) $HOME/bin/python
|
ln -s $(which python3.9) $HOME/bin/python
|
||||||
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
|
python -m ensurepip
|
||||||
echo "source $HOME/.poetry/env" >> ~/.buildenv
|
python -m pip install poetry==$POETRY_VERSION
|
||||||
- install_deps: |
|
- install_deps: |
|
||||||
cd blog
|
cd blog
|
||||||
poetry install -n
|
python -m poetry install -n
|
||||||
- test: |
|
- test: |
|
||||||
cd blog
|
cd blog
|
||||||
poetry run ./docker/runtests.sh
|
python -m poetry run ./docker/runtests.sh
|
||||||
- check-branch: |
|
- check-branch: |
|
||||||
cd blog
|
cd blog
|
||||||
if [ "$(git rev-parse master)" != "$(git rev-parse HEAD)" ]; then \
|
if [ "$(git rev-parse master)" != "$(git rev-parse HEAD)" ]; then \
|
||||||
|
|
Reference in a new issue