fix unit testing
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Robert Kaussow 2023-07-30 12:20:39 +02:00
parent 11c5627037
commit 268449c8a2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
4 changed files with 485 additions and 445 deletions

View File

@ -80,9 +80,6 @@ local PipelineUnitTest = {
os: 'linux',
arch: 'amd64',
},
workspace: {
path: '/drone/src/ansible_collections/${DRONE_REPO_NAME/./\\/}',
},
steps: [
PythonVersion(pyversion='3.8'),
PythonVersion(pyversion='3.9'),

View File

@ -41,9 +41,6 @@ platform:
os: linux
arch: amd64
workspace:
path: /drone/src/ansible_collections/${DRONE_REPO_NAME/./\/}
steps:
- name: python38-pytest
image: python:3.8
@ -282,6 +279,6 @@ depends_on:
---
kind: signature
hmac: f010250793e58a47cf2a541ddfb3455ce2dd03330f31be622ca65e2fe95dbcc9
hmac: f458850edd26300dda4a118e6c8cadffb9575528439efc6efff9f11cadb2a492
...

918
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -46,6 +46,9 @@ pycodestyle = "2.10.0"
yamllint = "1.29.0"
pylint = "2.15.0"
voluptuous = "0.13.1"
pytest-ansible = "3.1.5"
pytest-forked = "1.6.0"
pytest-xdist = "3.3.1"
[tool.pytest.ini_options]
addopts = "--cov --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail"
@ -59,6 +62,7 @@ filterwarnings = [
"ignore::FutureWarning",
"ignore::DeprecationWarning",
"ignore:.*pep8.*:FutureWarning",
"ignore:AnsibleCollectionFinder.*:UserWarning"
]
[tool.coverage.run]