config.yml 766 B

12345678910111213141516171819202122232425262728293031323334
  1. version: 2.1
  2. orbs:
  3. python: circleci/python@0.2.1
  4. jobs:
  5. build-and-test:
  6. executor: python/default
  7. steps:
  8. - checkout
  9. - python/load-cache
  10. - run: sudo pip install codecov pytest tqdm scikit-learn
  11. - python/install-deps
  12. - python/save-cache
  13. - run:
  14. command: sudo python setup.py develop
  15. name: setup
  16. - run:
  17. command: pytest ./tests
  18. name: tests
  19. - run:
  20. command: python tests/benchmark_throughput.py --preset minimalistic
  21. name: benchmark_throughput
  22. - run:
  23. command: python tests/benchmark_dht.py
  24. name: benchmark_dht
  25. - run:
  26. command: codecov
  27. name: codecov
  28. workflows:
  29. main:
  30. jobs:
  31. - build-and-test