|
@@ -7,35 +7,26 @@ workspace:
|
|
steps:
|
|
steps:
|
|
- name: setup
|
|
- name: setup
|
|
image: python
|
|
image: python
|
|
- environment:
|
|
|
|
- PIP_TARGET: '/root/.pip'
|
|
|
|
commands:
|
|
commands:
|
|
- - pip install poetry
|
|
|
|
- - pip install invoke
|
|
|
|
- - export PATH=/root/.pip:$PATH
|
|
|
|
- - /root/.pip/bin/poetry config virtualenvs.in-project true --local
|
|
|
|
- - /root/.pip/bin/poetry install
|
|
|
|
|
|
+ - pip install poetry --user
|
|
|
|
+ - pip install invoke --user
|
|
|
|
+ - /root/.local/bin/poetry config virtualenvs.in-project true --local
|
|
|
|
+ - /root/.local/bin/poetry install
|
|
|
|
|
|
- name: test
|
|
- name: test
|
|
image: python
|
|
image: python
|
|
- environment:
|
|
|
|
- PIP_TARGET: '/root/.pip'
|
|
|
|
commands:
|
|
commands:
|
|
- export PATH=/root/.pip:$PATH
|
|
- export PATH=/root/.pip:$PATH
|
|
- - inv test
|
|
|
|
|
|
+ - /root/.local/bin/poetry run inv test
|
|
|
|
|
|
- name: typecheck
|
|
- name: typecheck
|
|
image: python
|
|
image: python
|
|
- environment:
|
|
|
|
- PIP_TARGET: '/root/.pip'
|
|
|
|
commands:
|
|
commands:
|
|
- export PATH=/root/.pip:$PATH
|
|
- export PATH=/root/.pip:$PATH
|
|
- - poetry run inv tc
|
|
|
|
|
|
+ - /root/.local/bin/poetry run inv tc
|
|
|
|
|
|
- name: format
|
|
- name: format
|
|
image: python
|
|
image: python
|
|
- environment:
|
|
|
|
- PIP_TARGET: '/root/.pip'
|
|
|
|
commands:
|
|
commands:
|
|
- export PATH=/root/.pip:$PATH
|
|
- export PATH=/root/.pip:$PATH
|
|
- - poetry run inv checkfmt
|
|
|
|
|
|
+ - /root/.local/bin/poetry run inv checkfmt
|