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

Graph Generation: Ensure that optional tests are executed and not skipped #572

Open
meretp opened this issue Apr 11, 2023 · 0 comments
Open

Comments

@meretp
Copy link
Collaborator

meretp commented Apr 11, 2023

#562 added an optional feature to generate a graph representing all relationships defined in the document. To run this feature the user needs to install the package networkx. As this is a rather big dependency we decided to make it optional. According to that the tests for the new feature are skipped if this package is not installed. The GitHub Action to run all tests manually installs this dependency and runs the tests in a second stepo to ensure that all tests pass (see #568). In this PR the question came up if we can check that the tests are actually run and not skipped. Possible solutions could be either to check the generated output from pytest or define an environment variable to disable skipping of tests.

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