|
@@ -5,6 +5,8 @@ steps:
|
|
- name: setup
|
|
- name: setup
|
|
image: python
|
|
image: python
|
|
commands:
|
|
commands:
|
|
|
|
+ - python3 -m virtualenv .
|
|
|
|
+ - source ./bin/activate
|
|
- pip install poetry
|
|
- pip install poetry
|
|
- pip install invoke
|
|
- pip install invoke
|
|
- poetry config virtualenvs.in-project true --local
|
|
- poetry config virtualenvs.in-project true --local
|
|
@@ -13,14 +15,17 @@ steps:
|
|
- name: test
|
|
- name: test
|
|
image: python
|
|
image: python
|
|
commands:
|
|
commands:
|
|
- - poetry run inv test
|
|
|
|
|
|
+ - source ./bin/activate
|
|
|
|
+ - inv test
|
|
|
|
|
|
- name: typecheck
|
|
- name: typecheck
|
|
image: python
|
|
image: python
|
|
commands:
|
|
commands:
|
|
|
|
+ - source ./bin/activate
|
|
- poetry run inv tc
|
|
- poetry run inv tc
|
|
|
|
|
|
- name: format
|
|
- name: format
|
|
image: python
|
|
image: python
|
|
commands:
|
|
commands:
|
|
|
|
+ - source ./bin/activate
|
|
- poetry run inv checkfmt
|
|
- poetry run inv checkfmt
|