From 020b18b4495a7d861e0605a528b7489f01e61c85 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 18 Apr 2024 15:43:37 -0400 Subject: [PATCH] [CI] Show Sphinx warnings separately --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97bc3a6298..509eec4151 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -330,7 +330,13 @@ jobs: - name: Build Cantera run: scons build -j2 debug=n optimize=y use_pch=n - name: Build documentation - run: scons sphinx doxygen logging=debug + run: | + scons sphinx doxygen logging=debug \ + sphinx_options="-W --keep-going --warning-file=sphinx-warnings.txt" + - name: Show Sphinx warnings + run: | + cat sphinx-warnings.txt + if: failure() - name: Ensure 'scons help' options work run: | scons help --options