-
Notifications
You must be signed in to change notification settings - Fork 79
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
Missing tests #354
Comments
Hi David, Re #352, our tests run using the pip installation file. The conda installation requires a lot of time on readthedocs and travis and therefore is not automatically tested. We should have however tested the conda requirements file before making those changes in the conda file manually. I have made a note of this and in future for any conda requirements update we will need to manually check the requirements file on Windows/Mac/Linux. To resolve #352, I have created #353. Please can you check this file as this should fix the problem. |
Re #351, we wanted to setup automated testing for jupyter notebooks but we haven't added those yet. We can discuss this in the meeting. |
Good. If we test jnbs, we need to take into account that several of them invite the user to CHANGE the source code (Changing ON_GPU from True to False and vice versa). Both versions need to be tested. The default should be ON_GPU = True, and this is what should be held by the master branch. The ON_GPU = False version should be automatically generated and then checked separately. However, the False version could take a long time to run. |
The PR #392 may help address some of these issues. |
It could have saved me a lot of time and puzzlement, though the second time nbsphinx was omitted I realized immediately.
On 4 Jul 2022, at 18:01, John Pocock ***@***.******@***.***>> wrote:
The PR #392<#392> may help address some of these issues.
—
Reply to this email directly, view it on GitHub<#354 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFIQKBH432PVHWMOZR4UPUDVSMKGBANCNFSM5XKFEYKA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
We have added tests for Jupyter notebooks where it was possible. |
Description
Both Issues #351 and #352 indicate that our testing regime is inadequate.
For now, I will discuss only a test associated with #352. I would do this in bash as follows.
Please let me know how to proceed, as I have never before written any test. Our onenote notebook assumes that only python files are being tested.
Possibly the other requirements files could be similarly tested.
The other failure of requirements.dev.conda.yml that I experienced was the failure of 'make html'. Not much point in this case of checking the error output.
One could check that docs/_build/html exists and is not empty.
The text was updated successfully, but these errors were encountered: