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

Use cargo make to run tests for examples #904

Merged
merged 2 commits into from
Apr 21, 2023
Merged

Conversation

agilarity
Copy link
Contributor

@agilarity agilarity commented Apr 20, 2023

This makes it easier to run checks and tests for all examples.

It also covers the cargo make part of #210.

The Solution:

  • Makes the examples directory a workspace
  • Adds task flows that support lint, unit, and web testing
  • Makes web testing optional
  • Demonstrates calling from the leptos workspace

Run cargo make test-examples in the root to verify.

The counters example is excluded from the members until the test compile errors are fixed.

@gbj
Copy link
Collaborator

gbj commented Apr 21, 2023

Thanks! This looks good to me.

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