Skip to content

Conversation

@mjohanse-emr
Copy link
Collaborator

@mjohanse-emr mjohanse-emr commented Jul 17, 2025

What does this Pull Request accomplish?

Add a workflow step that runs the unit tests for the grpc_generator python package. To do this, I had to add a second input to the run_and_upload_unit_tests action that allows for a path that is not in the "packages" subfolder.

A couple of things I had to update to get this working properly:

  • Move the python tests into a unit folder since that's what the github action expects.
  • Add an if statement to the grpc_generator tests to only run them on the minimum supported version (3.11 in this case).

Why should this Pull Request be merged?

Implements AB#3195860

What testing has been done?

Unit tests, mypy, pyright, styleguide.

I verified that the grpc_generator unit tests ran on the 3.11 unit test jobs.

Signed-off-by: Michael Johansen <michael.johansen@ni.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jul 17, 2025

Test Results

 26 files  + 6   26 suites  +6   25s ⏱️ +19s
 71 tests + 4   71 ✅ + 4  0 💤 ±0  0 ❌ ±0 
694 runs  +24  694 ✅ +24  0 💤 ±0  0 ❌ ±0 

Results for commit 9d00482. ± Comparison against base commit 6e0f609.

♻️ This comment has been updated with latest results.

…ows.

Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Michael Johansen added 7 commits July 17, 2025 16:47
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
… is sufficient.

Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
@mjohanse-emr mjohanse-emr marked this pull request as ready for review July 18, 2025 13:38
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
@mjohanse-emr mjohanse-emr requested a review from bkeryan July 18, 2025 15:02
@mjohanse-emr mjohanse-emr merged commit 957904e into main Jul 18, 2025
15 checks passed
@mjohanse-emr mjohanse-emr deleted the users/mjohanse/codegen_unit_tests branch July 18, 2025 15:19
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