-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
1,300 additions
and
1,237 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Install the dependencies using | ||
|
||
``` | ||
pip3 install -r requirements/CI/requirements.txt | ||
``` | ||
|
||
SLiM recipes used for testing are in `examples/`: the specifications for which | ||
tests to run on them are specified in `recipe_specs.py` | ||
|
||
To run the entire test suite: | ||
|
||
``` | ||
python3 -m pytest | ||
``` | ||
|
||
To restrict to individual tests, the syntax is: | ||
|
||
``` | ||
python3 -m pytest tests/test_tree_sequence.py::test_slim_generation | ||
``` | ||
|
||
|
||
To restrict to specific recipes in the examples dir, the syntax is: | ||
|
||
``` | ||
python3 -m pytest -k recipe_nonWF.slim | ||
``` | ||
|
||
Note that this can be combined with restricting to specific tests, and the value | ||
following the `-k` is treated as a match, so e.g. `-k recipe_WF` will match all recipes | ||
containing the string `recipe_WF` |
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
Oops, something went wrong.