forked from tskit-dev/tsinfer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mmap_temp_dir option to generate_ancestors
Closes tskit-dev#806
- Loading branch information
1 parent
2b6e898
commit 8f1bc7e
Showing
11 changed files
with
300 additions
and
50 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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
version: 2 | ||
version: 2.1 | ||
|
||
orbs: | ||
codecov: codecov/[email protected] | ||
|
||
jobs: | ||
build: | ||
docker: | ||
|
@@ -44,8 +48,11 @@ jobs: | |
name: Run Python tests and upload coverage | ||
command: | | ||
python3 -m pytest --cov=tsinfer --cov-report=xml --cov-branch -xvs tests | ||
python3 -m codecov -X gcov -F python | ||
rm .coverage | ||
- codecov/upload: | ||
flags: python | ||
token: CODECOV_TOKEN | ||
|
||
- run: | ||
name: Compile C with gcc | ||
|
@@ -77,7 +84,10 @@ jobs: | |
gcov -pb ./libtsinfer.a.p/object_heap.c.gcno ../lib/object_heap.c | ||
gcov -pb ./libtsinfer.a.p/err.c.gcno ../lib/err.c | ||
cd .. | ||
codecov -X gcov -F C | ||
- codecov/upload: | ||
flags: C | ||
token: CODECOV_TOKEN | ||
|
||
- run: | ||
name: Valgrind for C tests. | ||
|
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
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
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.