config.yml 411 B

12345678910111213141516171819202122
  1. version: 2.1
  2. jobs:
  3. build-and-test:
  4. docker:
  5. - image: python:3.9.18
  6. steps:
  7. - checkout
  8. - run:
  9. name: Install poetry
  10. command: pip install poetry
  11. - run:
  12. name: Install dependencies
  13. command: poetry install
  14. - run:
  15. name: Run tests
  16. command: poetry run pytest
  17. workflows:
  18. build-and-test:
  19. jobs:
  20. - build-and-test