changeset 7742:b7a8d9664938

doc: fix build_docs test on travis and add to github ci Travis CI build failed build_doc due to missing sphinx-tabs. Add the package for travis. Also github was not building docs at all. Add builiding docs.
author John Rouillard <rouilj@ieee.org>
date Tue, 20 Feb 2024 07:35:54 -0500
parents e1dfd21f2252
children 79779293d77b
files .github/workflows/ci-test.yml .travis.yml
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Mon Feb 19 19:03:18 2024 -0500
+++ b/.github/workflows/ci-test.yml	Tue Feb 20 07:35:54 2024 -0500
@@ -219,7 +219,7 @@
           case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac
 
       - name: Install pytest and other packages needed for running tests
-        run: pip install flake8 mock pytest pytest-cov requests
+        run: pip install flake8 mock pytest pytest-cov requests sphinx-tabs
 
       - name: Test build roundup and install locale so lang tests work.
         run: |
@@ -258,6 +258,9 @@
             pytest -v -r a --durations=20 test/ --cov=roundup
           fi
 
+      - name: Build docs
+        run: python ./setup.py build_doc
+        
       - name: Upload coverage to Codecov
         # see: https://github.com/codecov/codecov-action#usage
         uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # v3.1.5
--- a/.travis.yml	Mon Feb 19 19:03:18 2024 -0500
+++ b/.travis.yml	Tue Feb 20 07:35:54 2024 -0500
@@ -182,6 +182,7 @@
   - if [[ "$TRAVIS_PYTHON_VERSION" == "2."* ]]; then
     python -m pytest -v -r a --maxfail=5 test/ --cov=roundup;
     fi
+  - python -m pip install sphinx-tabs
   - ./setup.py build_doc
 
 after_success:

Roundup Issue Tracker: http://roundup-tracker.org/