We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da8e01f commit 6a4c2bcCopy full SHA for 6a4c2bc
2 files changed
.github/workflows/test.yml
@@ -39,10 +39,6 @@ jobs:
39
--languages en
40
--branches 3.14
41
42
- - name: Display docsbuild.log
43
- if: always()
44
- run: cat ./logs/docsbuild.log
45
-
46
unit:
47
name: Unit tests
48
runs-on: ubuntu-latest
build_docs.py
@@ -1042,7 +1042,7 @@ def parse_args() -> argparse.Namespace:
1042
def setup_logging(log_directory: Path, select_output: str | None) -> None:
1043
"""Setup logging to stderr if run by a human, or to a file if run from a cron."""
1044
log_format = "%(asctime)s %(levelname)s: %(message)s"
1045
- if sys.stderr.isatty():
+ if sys.stderr.isatty() or 'CI' in os.environ:
1046
logging.basicConfig(format=log_format, stream=sys.stderr)
1047
else:
1048
log_directory.mkdir(parents=True, exist_ok=True)
0 commit comments