diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index e56e2bc36..e09ec5491 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -43,7 +43,7 @@ jobs: text = Path("./warnings.txt").read_text().strip() print("\n=== Sphinx Warnings ===\n\n" + text) # Print just for reference so we can look at the logs - unexpected = [ii for ii in text.split("\n") if all(i not in ii for i in ["kitchen-sink", "_static", "parse.py"])] + unexpected = [ii for ii in text.split("\n") if all(i not in ii for i in ["frame.py", "_static", "parse.py"])] print("\n=== Unexpected Warnings ===\n\n" + "\n".join(unexpected)) env_file = os.getenv('GITHUB_ENV') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 19e946854..70b094727 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -60,7 +60,7 @@ jobs: from pathlib import Path text = Path("./warnings.txt").read_text().strip() print("\n=== Sphinx Warnings ===\n\n" + text) # Print just for reference so we can look at the logs - unexpected = [ii for ii in text.split("\n") if all(i not in ii for i in ["kitchen-sink", "_static", "parse.py"])] + unexpected = [ii for ii in text.split("\n") if all(i not in ii for i in ["frame.py", "_static", "parse.py"])] for ii in unexpected: print(f"Unexpected warning: \n{unexpected}\n\n") assert len(unexpected) == 0