From 4f7bedb3b44d27087707bc8b4ffff8fff1737781 Mon Sep 17 00:00:00 2001 From: simojenki Date: Thu, 12 Sep 2019 15:57:45 +1000 Subject: [PATCH] test-reports into circleci --- .circleci/config.yml | 5 +++-- .gitignore | 1 + requirements.txt | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e42f7f2..6a89643 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,8 +47,9 @@ jobs: - run: name: run tests command: | - . venv/bin/activate - py.test + . venv/bin/activate\ + mkdir test-reports + pytest --junitxml=test-reports/junit.xml - store_artifacts: path: test-reports diff --git a/.gitignore b/.gitignore index 35a7446..5163227 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .pytest_cache .vscode __pycache__ +test-reports diff --git a/requirements.txt b/requirements.txt index 0c4345c..e15f65d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ - pytest==5.0.1 - +pytest==5.0.1 +pytest-html