Add a smoke test

This commit is contained in:
Karolina Surma 2024-08-22 11:20:13 +02:00
parent ce18c6f190
commit e134add034
5 changed files with 35 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

5
plan.fmf Normal file
View File

@ -0,0 +1,5 @@
discover:
how: fmf
execute:
how: tmt

9
tests/smoke/main.fmf Normal file
View File

@ -0,0 +1,9 @@
summary: run the basic documentation build
test: |
sphinx-build -M html source/ build/ &&
grep '<section id="test-docfile">' build/html/index.html &&
grep '<h1>Test docfile' build/html/index.html &&
rm -rf build/
require:
- python3-sphinx
- python3-sphinx-theme-alabaster

View File

@ -0,0 +1,5 @@
project = 'Test'
copyright = '2024, Test'
author = 'Test'
release = '0.3.0'
html_theme = 'alabaster'

View File

@ -0,0 +1,15 @@
Test docfile
============
.. toctree::
:maxdepth: 2
:caption: Contents:
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`