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

Control whether to run tests that depend on pandoc or LaTeX #36

Open
jayqi opened this issue Jul 3, 2020 · 0 comments
Open

Control whether to run tests that depend on pandoc or LaTeX #36

jayqi opened this issue Jul 3, 2020 · 0 comments

Comments

@jayqi
Copy link
Member

jayqi commented Jul 3, 2020

Some of the export formats depend on pandoc or LaTeX, which are not trivial dependencies.

One way we can control whether to skip tests is to use custom command-line options to pytest: https://docs.pytest.org/en/latest/example/simple.html#pass-different-values-to-a-test-function-depending-on-command-line-options

This would allow someone without pandoc or LaTeX to run all of the other tests, and we could also skip tests on certain OS configurations in CI.

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

No branches or pull requests

1 participant