#18 Use a different base image for Drone

Samengevoegd
getty heeft 2 commits samengevoegd van getty/gr/different-base-image naar getty/master 4 jaren geleden
1 gewijzigde bestanden met toevoegingen van 18 en 9 verwijderingen
  1. 18 9
      .drone.yml

+ 18 - 9
.drone.yml

@@ -1,15 +1,24 @@
 kind: pipeline
 name: default
 
-workspace:
-  path: /root
-
 steps:
-- name: test_all
-  image: python
+- name: setup
+  image: gdritter/lament-configuration-env:latest
   commands:
-  - pip install poetry
+  - poetry config virtualenvs.in-project true
   - poetry install
-  - poetry run inv test
-  - poetry run inv tc
-  - poetry run inv checkfmt
+
+- name: format
+  image: gdritter/lament-configuration-env:latest
+  commands:
+  - inv checkfmt
+
+- name: typecheck
+  image: gdritter/lament-configuration-env:latest
+  commands:
+  - inv tc
+
+- name: test
+  image: gdritter/lament-configuration-env:latest
+  commands:
+  - inv test