]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
CI, docs: Install test/py/requirements.txt as well
authorTom Rini <trini@konsulko.com>
Mon, 12 May 2025 21:51:23 +0000 (15:51 -0600)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 18 May 2025 06:51:36 +0000 (08:51 +0200)
As noted by Quentin, in CI we should be at least versioning the pytest
that we install. To avoid problems later, go with the whole requirements
file being used. Furthermore, our documentation building for readthedocs
must also have pytest so install the requirements file there as well.

Reported-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
.azure-pipelines.yml
.gitlab-ci.yml
.readthedocs.yml

index 9c136513bb9e52d1327e17bc7ab46f303fb080e3..15520c4dafd553c4cb09cc0aa95dc5b4944373f5 100644 (file)
@@ -92,7 +92,7 @@ stages:
           set -e
           python3 -m venv /tmp/venvhtml
           . /tmp/venvhtml/bin/activate
-          pip install -r doc/sphinx/requirements.txt pytest
+          pip install -r doc/sphinx/requirements.txt -r test/py/requirements.txt
           make htmldocs KDOC_WERROR=1
           make infodocs
 
index 7aadd5d8b7355ab79451faa4ef9ec307059250c3..49f3c588cfcfaf30f8f843ceca7a97e314354e30 100644 (file)
@@ -164,7 +164,7 @@ docs:
   script:
     - python3 -m venv /tmp/venvhtml
     - . /tmp/venvhtml/bin/activate
-    - pip install -r doc/sphinx/requirements.txt pytest
+    - pip install -r doc/sphinx/requirements.txt -r test/py/requirements.txt
     - make htmldocs KDOC_WERROR=1
     - make infodocs
 
index 16418f286dce86bdb6bc1c8e7406cd7de91d9094..9b6d251b7387ed5ad6ae27163ba31f36c23a775c 100644 (file)
@@ -22,3 +22,4 @@ formats: []
 python:
   install:
     - requirements: doc/sphinx/requirements.txt
+    - requirements: test/py/requirements.txt