Loading python/pytest.yml +3 −2 Original line number Diff line number Diff line Loading @@ -9,12 +9,13 @@ python:pytest: PYTEST_COVERAGE_THRESHOLD: "25" INSTALL_PYTEST_PLUGINS: "pytest-asyncio pytest-xdist" CHECK_PATH: "./${PYTHON_PACKAGE}" DEFAULT_ARGS: "-vvv --capture=tee-sys" EXTRA_ARGS: "" # Set optional arguments before_script: - pip install . script: - pip install pytest pytest-cov ${INSTALL_PYTEST_PLUGINS} - python -m pytest -vvv --cov=${CHECK_PATH} --cov-fail-under=${PYTEST_COVERAGE_THRESHOLD} --junitxml=${CI_PROJECT_DIR}/pytest-report.xml --cov-report xml:${CI_PROJECT_DIR}/pytest-coverage.xml -o cache_dir=${CI_PROJECT_DIR}/.pytest_cache ${EXTRA_ARGS} - pip install pytest pytest-asyncio pytest-xdist pytest-cov - python -m pytest --cov=${CHECK_PATH} --cov-fail-under=${PYTEST_COVERAGE_THRESHOLD} --junitxml=${CI_PROJECT_DIR}/pytest-report.xml --cov-report xml:${CI_PROJECT_DIR}/pytest-coverage.xml -o cache_dir=${CI_PROJECT_DIR}/.pytest_cache ${DEFAULT_ARGS} ${EXTRA_ARGS} artifacts: reports: junit: pytest-report.xml Loading Loading
python/pytest.yml +3 −2 Original line number Diff line number Diff line Loading @@ -9,12 +9,13 @@ python:pytest: PYTEST_COVERAGE_THRESHOLD: "25" INSTALL_PYTEST_PLUGINS: "pytest-asyncio pytest-xdist" CHECK_PATH: "./${PYTHON_PACKAGE}" DEFAULT_ARGS: "-vvv --capture=tee-sys" EXTRA_ARGS: "" # Set optional arguments before_script: - pip install . script: - pip install pytest pytest-cov ${INSTALL_PYTEST_PLUGINS} - python -m pytest -vvv --cov=${CHECK_PATH} --cov-fail-under=${PYTEST_COVERAGE_THRESHOLD} --junitxml=${CI_PROJECT_DIR}/pytest-report.xml --cov-report xml:${CI_PROJECT_DIR}/pytest-coverage.xml -o cache_dir=${CI_PROJECT_DIR}/.pytest_cache ${EXTRA_ARGS} - pip install pytest pytest-asyncio pytest-xdist pytest-cov - python -m pytest --cov=${CHECK_PATH} --cov-fail-under=${PYTEST_COVERAGE_THRESHOLD} --junitxml=${CI_PROJECT_DIR}/pytest-report.xml --cov-report xml:${CI_PROJECT_DIR}/pytest-coverage.xml -o cache_dir=${CI_PROJECT_DIR}/.pytest_cache ${DEFAULT_ARGS} ${EXTRA_ARGS} artifacts: reports: junit: pytest-report.xml Loading