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

Test examples in CI #36

Merged
merged 4 commits into from
Aug 28, 2024
Merged

Test examples in CI #36

merged 4 commits into from
Aug 28, 2024

Conversation

jasonasher
Copy link
Collaborator

This will have cargo run/test the examples in CI. We should probably also consider having clippy run on these examples too.

@jasonasher jasonasher marked this pull request as ready for review August 28, 2024 15:59
Copy link
Collaborator

@k88hudson-cfa k88hudson-cfa left a comment

Choose a reason for hiding this comment

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

R+ with nits

@@ -13,4 +13,4 @@ repos:
hooks:
- id: fmt
- id: clippy
args: ["--", "-D", "warnings", "-W", "clippy::pedantic"]
args: ["--all-targets", "--", "-D", "warnings", "-W", "clippy::pedantic"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add a comment that clippy:pedantic won't apply to tests/examples unless you include --all-targets

@jasonasher jasonasher merged commit 91944fa into main Aug 28, 2024
4 checks passed
@jasonasher jasonasher deleted the jma-test-examples branch August 28, 2024 18:32
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.

2 participants