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

run doc tests #54

Merged
merged 6 commits into from
Jan 19, 2023
Merged

run doc tests #54

merged 6 commits into from
Jan 19, 2023

Conversation

ChuckHend
Copy link
Member

@ChuckHend ChuckHend commented Jan 19, 2023

Updated the docs so that they can be tested with cargo test --doc.

  • the readme/doc example becomes runnable code instead of stand-alone snippets.
  • change the ci workflow to run cargo test (test everything together), instead of unit/doc/integration tests separately. doc tests need an instance of postgres to run, and so do integration tests. only the unit tests can run alone. Its simpler to run them all together.

@ChuckHend ChuckHend marked this pull request as ready for review January 19, 2023 21:17
@ChuckHend ChuckHend enabled auto-merge (squash) January 19, 2023 21:19
@ChuckHend ChuckHend merged commit 6ac53cb into main Jan 19, 2023
@ChuckHend ChuckHend deleted the ahendel/docTest branch January 19, 2023 22:04
sjmiller609 pushed a commit that referenced this pull request Dec 5, 2023
* add stop attribute

* remove last bit of reconciler
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