mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-26 07:18:33 +03:00
jenkins.sh: Build documentation as part of build verification
Change-Id: Iea7547c81fcd3e4268da23c18ad56d841aaf7535
This commit is contained in:
@@ -18,6 +18,11 @@ pip install cmd2
|
|||||||
# Execute automatically discovered unit tests first
|
# Execute automatically discovered unit tests first
|
||||||
python -m unittest discover -v -s tests/
|
python -m unittest discover -v -s tests/
|
||||||
|
|
||||||
|
# attempt to build documentation
|
||||||
|
pip install sphinx
|
||||||
|
pip install sphinxcontrib-napoleon
|
||||||
|
(cd docs && make html)
|
||||||
|
|
||||||
|
# run the test with physical cards
|
||||||
cd pysim-testdata
|
cd pysim-testdata
|
||||||
../tests/pysim-test.sh
|
../tests/pysim-test.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user