IMO the amount of symlinks we have to manually maintain
is tedious and error prone. Any ideas on improving thing?
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
if(WITH_TESTS)
include(AddCephTest)
- add_tox_test(qa TOX_ENVS py3 flake8 mypy)
+ add_tox_test(qa TOX_ENVS py3 flake8 mypy deadsymlinks)
endif()
--- /dev/null
+../.qa
\ No newline at end of file
[tox]
-envlist = flake8, mypy, pytest
+envlist = flake8, mypy, pytest, deadsymlinks
skipsdist = True
[testenv:flake8]
pytest --assert=plain test_import.py
pytest tasks/tests
+[testenv:deadsymlinks]
+basepython = python3
+toxworkdir = {toxinidir}
+allowlist_externals =
+ bash
+commands =
+ bash -c '! (find . -xtype l | grep ^)'