config.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Python CircleCI 2.0 configuration file
  2. #
  3. # Check https://circleci.com/docs/2.0/language-python/ for more details
  4. version: 2
  5. jobs:
  6. ##############################################################
  7. test-vedo:
  8. machine:
  9. image: ubuntu-2004:current
  10. resource_class: medium
  11. environment:
  12. MPLBACKEND: "agg"
  13. DEBIAN_FRONTEND: "noninteractive"
  14. steps:
  15. - checkout
  16. - run:
  17. name: installing vedo
  18. command: |
  19. sudo apt-get update
  20. sudo apt install libgl1-mesa-dev xvfb -y
  21. pip3 install typing-extensions
  22. pip3 install vedo
  23. pip3 install matplotlib
  24. pip3 install scipy
  25. pip3 install --no-deps .
  26. - run:
  27. name: Run tests
  28. command: |
  29. cd
  30. cd project/tests/common
  31. source run_all.sh
  32. - store_artifacts:
  33. path: test-reports
  34. destination: test-reports
  35. ######################################################
  36. workflows:
  37. version: 2
  38. build-stuff:
  39. jobs:
  40. - test-vedo