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