Run python tests during make check (#5226)
authormakaimann <makaim@stanford.edu>
Tue, 3 Nov 2020 00:17:21 +0000 (16:17 -0800)
committerGitHub <noreply@github.com>
Tue, 3 Nov 2020 00:17:21 +0000 (16:17 -0800)
commit116114d9277f7b706e30f4c7af3a531e3f75fe86
tree6ebb38e127f46d1e6d89aa8bb7e7afa6fc1ad8fb
parent5eb06a56099612e96303429fd8a9158ed8ad3121
Run python tests during make check (#5226)

If building with python bindings, check the pytest is installed, and adds a command to run pytest after the existing make check tests. If built without python bindings, it just uses a null command. Note: the current semantics are such that the pytest tests will not run if the ctest run fails (unless you pass the correct flag to make to continue --ignore-errors I believe). I can look into changing this semantics if that would be preferred.
14 files changed:
.github/workflows/ci.yml
test/api/CMakeLists.txt
test/api/python/CMakeLists.txt [new file with mode: 0644]
test/api/python/test_datatype_api.py [new file with mode: 0644]
test/api/python/test_grammar.py [new file with mode: 0644]
test/api/python/test_sort.py [new file with mode: 0644]
test/api/python/test_term.py [new file with mode: 0644]
test/api/python/test_to_python_obj.py [new file with mode: 0644]
test/unit/api/CMakeLists.txt
test/unit/api/python/test_datatype_api.py [deleted file]
test/unit/api/python/test_grammar.py [deleted file]
test/unit/api/python/test_sort.py [deleted file]
test/unit/api/python/test_term.py [deleted file]
test/unit/api/python/test_to_python_obj.py [deleted file]