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 automatic tests #3

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

flavio20002
Copy link

@flavio20002 flavio20002 commented Jul 27, 2023

Depends on #2

Add new structure for automatic test and some use cases as well (inspired by typst-canvas structure):

It includes two new workflows.

  • One that is executed automatically on push and pull request called "test"
  • One executed on demand called "update-tests" that can be used to generate the reference pngs and download them on the computer. Useful if the person is not able to launch the script locally.

The test case support multipage output. The test script automatically check all the output pngs versus the reference png committed with the repository.

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