Enable basic test coverage in the CI

Run a simple smoke test and the upstream test suite.
Use `tmt run` to safely execute tests from your laptop.
See also: https://tmt.readthedocs.io/en/latest/guide.html
This commit is contained in:
Petr Šplíchal 2022-03-14 10:42:18 +01:00
commit 037c72dcb2
5 changed files with 41 additions and 0 deletions

3
tests/unit.fmf Normal file
View file

@ -0,0 +1,3 @@
summary: Run the upstream test suite
test: cd ../html2text-*/ && python3 -m pytest
require: python3-pytest