summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Marshall <catchjosh@gmail.com>2021-03-31 11:36:11 +0900
committerJosh Marshall <catchjosh@gmail.com>2021-03-31 11:36:11 +0900
commit6163c4651c57ad901c6c5b330b3e19204a4ca8ea (patch)
treebd514e65cfbb023ba0964253555d3131bd1334b5
parentfd9089260bdd733ff6cbefe516b57e3ff6c43852 (diff)
downloadjsonrpclib-6163c4651c57ad901c6c5b330b3e19204a4ca8ea.tar.gz
Storing test results.
-rw-r--r--.circleci/config.yml2
-rw-r--r--tox.ini4
2 files changed, 5 insertions, 1 deletions
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