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

Add unit testing to github actions #239

Closed
wants to merge 1 commit into from

Conversation

timvink
Copy link
Contributor

@timvink timvink commented Sep 13, 2024

This should get you started with unit testing. You can even schedule these to run every week (see https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/blob/master/.github/workflows/scheduled_unittests.yml) so you are aware of anything breaking due to downstream updates

Copy link
Owner

@fralau fralau left a comment

Choose a reason for hiding this comment

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

What is the difference between conftest.pyand test_builds.py ?

@timvink
Copy link
Contributor Author

timvink commented Sep 15, 2024

The conftest.py file serves as a means of providing fixtures for an entire directory.

https://docs.pytest.org/en/stable/reference/fixtures.html#conftest-py-sharing-fixtures-across-multiple-files

But didn't use it in this PR

@timvink timvink closed this Oct 2, 2024
@fralau fralau added the keep in mind Interesting idea, keep in mind for the future label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep in mind Interesting idea, keep in mind for the future
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants