.drone.yml 434 B

1234567891011121314151617181920212223242526272829
  1. kind: pipeline
  2. name: default
  3. workspace:
  4. path: /root
  5. steps:
  6. - name: setup
  7. image: python
  8. commands:
  9. - pip install poetry --user
  10. - pip install invoke --user
  11. - poetry config virtualenvs.in-project true --local
  12. - poetry install
  13. - name: test
  14. image: python
  15. commands:
  16. - inv test
  17. - name: typecheck
  18. image: python
  19. commands:
  20. - poetry run inv tc
  21. - name: format
  22. image: python
  23. commands:
  24. - poetry run inv checkfmt