From 6163c4651c57ad901c6c5b330b3e19204a4ca8ea Mon Sep 17 00:00:00 2001 From: Josh Marshall Date: Wed, 31 Mar 2021 11:36:11 +0900 Subject: Storing test results. --- .circleci/config.yml | 2 ++ tox.ini | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 109c3e4..da3b02c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,6 +33,8 @@ jobs: - run: command: tox name: Run package tests across all python variants + - store_test_results: + path: reports workflows: main: diff --git a/tox.ini b/tox.ini index aaa5961..cf70f49 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,8 @@ [tox] envlist = py35,py36,py37,py38,py39 + [testenv] deps= -rdev-requirements.txt -commands=coverage run --source jsonrpclib -m pytest tests.py +commands=mkdir -p reports/{envname} + coverage run --source jsonrpclib -m pytest --junitxml=reports/{envname}/test-results.xml tests.py coverage report -- cgit v1.2.1