unit-test.yml 974 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. name: unit-test
  2. on:
  3. push:
  4. paths:
  5. - 'plugins/**'
  6. - 'resources/**'
  7. - 'cura/**'
  8. - 'icons/**'
  9. - 'tests/**'
  10. - '.github/workflows/unit-test.yml'
  11. - '.github/workflows/requirements-runner.txt'
  12. - 'requirements*.txt'
  13. - 'conanfile.py'
  14. - 'conandata.yml'
  15. - '*.jinja'
  16. branches:
  17. - main
  18. - 'CURA-*'
  19. - 'PP-*'
  20. - '[0-9]+.[0-9]+'
  21. pull_request:
  22. paths:
  23. - 'plugins/**'
  24. - 'resources/**'
  25. - 'cura/**'
  26. - 'icons/**'
  27. - 'tests/**'
  28. - '.github/workflows/unit-test.yml'
  29. - '.github/workflows/requirements-runner.txt'
  30. - 'requirements*.txt'
  31. - 'conanfile.py'
  32. - 'conandata.yml'
  33. - '*.jinja'
  34. branches:
  35. - main
  36. - '[0-9]+.[0-9]+'
  37. jobs:
  38. testing:
  39. name: Run unit tests
  40. # FIXME: use main once merged
  41. uses: ultimaker/cura-workflows/.github/workflows/unit-test.yml@CURA-11622_conan_v2
  42. with:
  43. test_use_pytest: true