Browse Source

add to path

Getty Ritter 4 years ago
parent
commit
aa7c155fc4
1 changed files with 4 additions and 0 deletions
  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