From e5e5bde7b6fc9cd923a04d8da3cb90ee12c85f7f Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Thu, 14 Jun 2018 12:50:51 -0400 Subject: [PATCH] Make the test log available as an artifact --- .circleci/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5170bfdad..2b0f318b2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -92,6 +92,11 @@ jobs: # checkout because it is owned by root. sudo --set-home -u nobody /tmp/tests/bin/tox -c /tmp/project/tox.ini --workdir /tmp -e py27 + - store_artifacts: &STORE_ARTIFACTS + # Despite passing --workdir /tmp to tox above, it still runs trial + # in the project source checkout. + path: "/tmp/project/_trial_temp/test.log" + debian-9: docker: @@ -170,6 +175,8 @@ jobs: <<: *RUN_TESTS + - store_artifacts: *STORE_ARTIFACTS + fedora-27: docker: - image: "fedora:27"