浏览代码

add to path

Getty Ritter 4 年之前
父节点
当前提交
aa7c155fc4
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .drone.yml

+ 4 - 0
.drone.yml

@@ -12,6 +12,7 @@ steps:
   commands:
   - pip install poetry
   - pip install invoke
+  - export PATH=/root/.pip:$PATH
   - poetry config virtualenvs.in-project true --local
   - poetry install
 
@@ -20,6 +21,7 @@ steps:
   environment:
     PIP_TARGET: '/root/.pip'
   commands:
+  - export PATH=/root/.pip:$PATH
   - inv test
 
 - name: typecheck
@@ -27,6 +29,7 @@ steps:
   environment:
     PIP_TARGET: '/root/.pip'
   commands:
+  - export PATH=/root/.pip:$PATH
   - poetry run inv tc
 
 - name: format
@@ -34,4 +37,5 @@ steps:
   environment:
     PIP_TARGET: '/root/.pip'
   commands:
+  - export PATH=/root/.pip:$PATH
   - poetry run inv checkfmt