You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
678 B

  1. version: 2
  2. workflows:
  3. version: 2
  4. test:
  5. jobs:
  6. - test-3.7.5
  7. jobs:
  8. test-3.7.5:
  9. docker:
  10. - image: python:3.7.5
  11. steps:
  12. - checkout
  13. - run:
  14. name: Install coverage and reporter
  15. command: |
  16. pip install coverage==5.0.3
  17. curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  18. chmod +x ./cc-test-reporter
  19. - run:
  20. name: Run tests
  21. command: |
  22. set -x
  23. ./cc-test-reporter before-build
  24. coverage run -m setup test -v
  25. coverage xml -i
  26. ./cc-test-reporter after-build