liuyxpp / MakiePublication.jl

A Julia package for producing publication quality figures based on Makie.jl.
Other
112 stars 7 forks source link

test: Add simple tests that themes run #11

Closed musoke closed 6 months ago

musoke commented 6 months ago

Add some tests using Julia's standard unit testing.

These just check that doctests pass and that each theme can be applied to a simple plot. In principle this could be expanded to check the actual properties of the plots, but that seems like overkill.

Also add a GitHub actions workflow to run tests automatically on pull requests, tags, the branch main, and branches matching ci/*.

musoke commented 6 months ago

These tests could alternatively be doc tests. One could even generate figures when the docs are built, ensuring that they always match output from the latest version of the code.

codecov[bot] commented 6 months ago

Welcome to Codecov :tada:

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered :open_umbrella: