.drone.yml 405 B

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