diff options
-rw-r--r-- | azure-pipelines.yml | 4 | ||||
-rw-r--r-- | pytest.ini | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7be3cec..2ad0e08 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,7 +26,7 @@ jobs: displayName: 'Install dependencies' - script: | - pip install pytest pytest-azurepipelines + pip install pytest pytest-cov pytest-azurepipelines pytest --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html displayName: 'pytest' @@ -65,7 +65,7 @@ jobs: displayName: 'Install dependencies' - script: | - pip install pytest pytest-azurepipelines + pip install pytest pytest-cov pytest-azurepipelines pytest --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html displayName: 'pytest' diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..5b9d772 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,3 @@ +# pytest.ini +[pytest] +junit_family=xunit1 |