To make sure the example config at etc/mudpy.yaml remains valid and
functional, add a separate tox test environment to exercise it
explicitly with the selftest suite.
[tox]
minversion = 2.0
-envlist = dist, docs, flake8, yamllint, py3
+envlist = dist, docs, flake8, yamllint, selftest_config, py3
skipsdist = True
[testenv]
[testenv:flake8]
commands = flake8 {posargs}
+[testenv:selftest_config]
+commands = mudpy_selftest etc/mudpy.yaml
+
[testenv:yamllint]
commands = yamllint {posargs} .