Skip to content

ci: shear now checks tests#2137

Merged
Mirko-von-Leipzig merged 1 commit into
nextfrom
mirko/ci/shear
May 26, 2026
Merged

ci: shear now checks tests#2137
Mirko-von-Leipzig merged 1 commit into
nextfrom
mirko/ci/shear

Conversation

@Mirko-von-Leipzig
Copy link
Copy Markdown
Collaborator

@Mirko-von-Leipzig Mirko-von-Leipzig commented May 26, 2026

cargo shear recently added support for test target mismatches between enabling the target & the source code. This previously only worked in the one direction i.e. it warned if the target was enabled but had no tests. This is now bidirecitonal i.e. adding a test to a disabled target is a warning.

This PR enables this, and removes the test/doc targets that aren't required.

@Mirko-von-Leipzig Mirko-von-Leipzig added no changelog This PR does not require an entry in the `CHANGELOG.md` file CI CI and devops labels May 26, 2026
Copy link
Copy Markdown
Contributor

@kkovaacs kkovaacs left a comment

Choose a reason for hiding this comment

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

LGTM!

@Mirko-von-Leipzig Mirko-von-Leipzig merged commit 7f99711 into next May 26, 2026
21 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the mirko/ci/shear branch May 26, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI and devops no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants