diff --git a/.circleci/config.yml b/.circleci/config.yml index a53f19f42571..3968be8e5d48 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -138,6 +138,8 @@ jobs: - store_artifacts: path: doc/build/html + - store_test_results: + path: doc/build/test-results docs-python38-min: docker: @@ -159,6 +161,8 @@ jobs: - store_artifacts: path: doc/build/html + - store_test_results: + path: doc/build/test-results docs-python38: docker: @@ -179,6 +183,8 @@ jobs: - store_artifacts: path: doc/build/html + - store_test_results: + path: doc/build/test-results - add_ssh_keys: fingerprints: diff --git a/doc/conf.py b/doc/conf.py index bdcd0ac5023c..7cfcb496e67c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -169,6 +169,8 @@ def _check_dependencies(): 'matplotlib_animations': True, # 3.7 CI doc build should not use hidpi images during the testing phase 'image_srcset': [] if sys.version_info[:2] == (3, 7) else ["2x"], + 'junit': ('../test-results/sphinx-gallery/junit.xml' + if 'CIRCLECI' in os.environ else ''), } plot_gallery = 'True'