Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Update to match some improvements in the Maya submitter #13

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

mwiebe
Copy link
Contributor

@mwiebe mwiebe commented Sep 7, 2023

What was the problem/requirement? (What/Why)

When updating the Maya submitter, I made improvements that are also useful for Nuke.

What was the solution? (How)

  • Cleanup to hatch_version_hook.py
  • Change the job bundle test runner to match the refactoring done in Maya, including placing the scene file in a scene subdirectory and separating the Nuke-specific parts into a set of interface functions that we can turn into a class in a follow-up refactor.

What is the impact of this change?

Easier time using the job bundle output tests.

How was this change tested?

Ran the job bundle tests.

Did you run the "Job Bundle Output Tests"? If not, why not? If so, paste the test results here.

I ran them before rebase, here are the outputs from that.


Running job bundle output test: C:/Users/markw/deadline-clients/deadline-cloud-for-nuke/job_bundle_output_tests\multi-load-save

multi-load-save
Test succeeded

Running job bundle output test: C:/Users/markw/deadline-clients/deadline-cloud-for-nuke/job_bundle_output_tests\noise-saver

noise-saver
Test succeeded

All tests passed, ran 2 total.

Was this change documented?

No

Is this a breaking change?

No

@mwiebe mwiebe requested a review from a team as a code owner September 7, 2023 21:35
* Cleanup to hatch_version_hook.py
* Change the job bundle test runner to match the refactoring done in
  Maya, including placing the scene file in a scene subdirectory and
  separating the Nuke-specific parts into a set of interface functions
  that we can turn into a class in a follow-up refactor.
* Reduce the code coverage threshold 63 -> 62. Note that we want to put
  the job bundle output tests in our CI/CD pipelines as the real
  mechanism for test coverage instead of mock-based unit tests.

Signed-off-by: Mark Wiebe <markw@amazon.com>
Copy link
Contributor

@amznestebanpapp amznestebanpapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mwiebe mwiebe merged commit 18f9cc9 into mainline Sep 7, 2023
5 checks passed
@mwiebe mwiebe deleted the markw/nuke-tweaks branch September 7, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants