From 128da903c19c860e89be36bf67bd02cfa408a525 Mon Sep 17 00:00:00 2001 From: zmiao Date: Fri, 25 Oct 2019 18:22:32 +0300 Subject: [PATCH] Config CircleCI to save render test output when failing (#15863) * [render-test] Save index.html * Add extra folder --- circle.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 11954ccf6..103ea8c68 100644 --- a/circle.yml +++ b/circle.yml @@ -267,7 +267,9 @@ commands: when: on_fail command: | mkdir -p /tmp/tests/render - if [ -f mapbox-gl-js/test/integration/index.html ]; then cp mapbox-gl-js/test/integration/index.html /tmp/tests/render; fi + mkdir -p /tmp/tests/probe + if [ -f index.html ]; then cp index.html /tmp/tests/render; fi + if [ -f render-test/index.html ]; then cp render-test/index.html /tmp/tests/probe; fi mkdir -p /tmp/tests/coredumps if ls core* 1> /dev/null 2>&1; then cp core* /tmp/tests/coredumps; fi - store_artifacts: