Skip to content

Conversation

@dixonjoel
Copy link
Collaborator

What does this Pull Request accomplish?

Uses the newly created analyze-project actions from ni/python-actions repo.

Why should this Pull Request be merged?

Single sources many of the static analysis checks we were duplicating in many repos.

What testing has been done?

The PR checks on this PR.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 25, 2025

Test Results

    44 files  ±0      44 suites  ±0   21m 27s ⏱️ -18s
 2 190 tests ±0   2 190 ✅ ±0  0 💤 ±0  0 ❌ ±0 
49 738 runs  ±0  49 738 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 1ba335a. ± Comparison against base commit bba6553.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

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

I want to try aggregating job statuses

Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

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

Let's add a job to CI.yml to summarize the checks so that the branch protection ruleset doesn't depend on OSes and Python versions.

#201

Also, let's make sure that failing checks cause this job to not run. I tried adding typing errors and the checks still passed because analyze-project is not actually running mypy: ni/python-actions#31

@dixonjoel dixonjoel requested a review from bkeryan September 29, 2025 19:22
@bkeryan
Copy link
Collaborator

bkeryan commented Sep 29, 2025

I updated the branch protection ruleset to require Run CI / Checks succeeded

@bkeryan bkeryan enabled auto-merge (squash) September 29, 2025 19:55
@bkeryan bkeryan merged commit 9e1b558 into main Sep 29, 2025
34 checks passed
@dixonjoel dixonjoel deleted the users/jdixon/reuse-analyze-project-action branch September 29, 2025 20: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