-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split pytest into two runs given Travis memory constraints
If pytest runs all tests at once then it exceeds the alloted memory for it by Travis CI. To deal with this, tests/test_notebooks is run by itself in a second run of pytest. This is a bit strange, but seems to work. As a result of this and the order that pyest runs the tests, the docstring tests finish just before the import tests run. This means that the last backend tested is still in memory, and so the NumPy backend needs to get set as that is what is needed for the test_import.py
- Loading branch information
1 parent
dac3303
commit 02b4d30
Showing
2 changed files
with
24 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters