Config CircleCI to save render test output when failing (#15863)

* [render-test] Save index.html

* Add extra folder
This commit is contained in:
zmiao
2019-10-25 18:22:32 +03:00
committed by GitHub
parent 646d4e3996
commit 128da903c1

View File

@@ -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: