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