Get junitxml uploaded as an artifact as well

This commit is contained in:
Jean-Paul Calderone 2018-07-06 10:59:10 -04:00
parent 79bea48b58
commit d074d52b48
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ jobs:
/tmp/project/.circleci/run-tests.sh "${TAHOE_LAFS_TOX_ENVIRONMENT}" "${TAHOE_LAFS_TOX_ARGS}"
- store_test_results: &STORE_TEST_RESULTS
path: "/tmp/junit"
path: "/tmp/artifacts/junit"
- store_artifacts: &STORE_TEST_LOG
# Despite passing --workdir /tmp to tox above, it still runs trial

View File

@ -39,5 +39,5 @@ for environ in argv[1].split(","):
# Create a junitxml results area. Put these results in a subdirectory of the
# ultimate location because CircleCI extracts some label information from the
# subdirectory name.
mkdir -p /tmp/junit/unittests
/tmp/tests/bin/subunit2junitxml < /tmp/results.subunit2 > /tmp/junit/unittests/results.xml
mkdir -p /tmp/artifacts/junit/unittests
/tmp/tests/bin/subunit2junitxml < /tmp/results.subunit2 > /tmp/artifacts/junit/unittests/results.xml