doc CD: Ignore Warnings when running notedown command

This commit is contained in:
Nicolas Kruse 2025-06-06 13:57:46 +02:00
parent 08c81444dd
commit 71da33d9ad
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def run_cmd(command: list[str]):
assert (not result.stderr or
any('RuntimeWarning: ' in line for line in result.stderr.splitlines()) or
any('[NbConvertApp]' in line and 'error' not in line.lower() for line in result.stderr.splitlines())), 'ERROR: ' + result.stderr
any('[NbConvertApp]' in line or 'Warning' in line for line in result.stderr.splitlines())), 'ERROR: ' + result.stderr
def run_rendering(input_path: str, output_directory: str):