Skip to content

Skip tests on rez-build #1334

Answered by ColinKennedy
herronelou asked this question in Q&A
Discussion options

You must be logged in to vote

rez-build doesn't run any tests as a part of its work unless the tests are set to "run_on": "pre_install", nor does Rez have a Python build system, so I'm not sure how you're these tests are initiating during your build. That said if you're using vanilla rez-test, you have some options

https://github.com/AcademySoftwareFoundation/rez/wiki/Package-Definition-Guide#tests

  • explicit: Only run the test when asked (good for big test suites and / or auto-formatter code like black and isort)
  • pre_release: Run only before release but not before regular rez-build. Though I think pre_release runs before the build of the released package (and not "after the build but before the release") so I think it…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JeanChristopheMorinPerso
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants