Skip to content

Only run unit-testing when there's something to test#4151

Merged
nasbench merged 5 commits into
developfrom
sometimes_run_testing
Jul 14, 2026
Merged

Only run unit-testing when there's something to test#4151
nasbench merged 5 commits into
developfrom
sometimes_run_testing

Conversation

@ljstella

@ljstella ljstella commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Details

Tweak to the unit-testing workflow so that we only occupy the larger runner that testing uses when we actually have things to test, as opposed to every PR.

This change is needed because the multi-step testing process w/ -ng now builds the test environment first, and then when running testing determines what needs to be tested, as opposed to determining if testing even needs to happen first.

@pyth0n1c

pyth0n1c commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

I talked with @ljstella about this. Eventually we should handle this type of logic in the tool test workflow, but this is a good catch-all for now to ensure we don't waste time setting up environments when we won't actually have any content to test.

I will defer to STRT for approval, but concur with the change.

Comment thread .github/workflows/unit-testing.yml
@patel-bhavin patel-bhavin added this to the V6.3.0 milestone Jul 8, 2026
@nasbench nasbench self-requested a review July 8, 2026 12:01
@nasbench nasbench enabled auto-merge (squash) July 14, 2026 18:30
@nasbench nasbench merged commit 81fa014 into develop Jul 14, 2026
4 checks passed
@nasbench nasbench deleted the sometimes_run_testing branch July 14, 2026 18:31
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.

4 participants