Browse Source

be lazy for now

Getty Ritter 1 year ago
parent
commit
1d4a73e4de
1 changed files with 4 additions and 22 deletions
  1. 4 22
      .drone.yml

+ 4 - 22
.drone.yml

@@ -8,25 +8,7 @@ steps:
 - name: setup
   image: python
   commands:
-  - 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
-  image: python
-  commands:
-  - export PATH=/root/.pip:$PATH
-  - /root/.local/bin/poetry run inv test
-
-- name: typecheck
-  image: python
-  commands:
-  - export PATH=/root/.pip:$PATH
-  - /root/.local/bin/poetry run inv tc
-
-- name: format
-  image: python
-  commands:
-  - export PATH=/root/.pip:$PATH
-  - /root/.local/bin/poetry run inv checkfmt
+  - pip install poetry
+  - poetry run inv test
+  - poetry run inv tc
+  - poetry run inv checkfmt