Loading python/mypy.yml +1 −4 Original line number Diff line number Diff line Loading @@ -15,11 +15,8 @@ python:mypy: - echo "will run test on PYTHON_PACKAGE=${PYTHON_PACKAGE}" - pip3 install . || true # installs package only if available - pip3 install mypy - mkdir .mypy_cache - mypy --install-types --non-interactive --junit-xml ${CI_PROJECT_DIR}/mypy-report.xml --exclude $MYPY_EXCLUDE_REGEX ${MYPY_DEFAULT_SETTINGS} ${MYPY_EXTRA_SETTINGS} ${CHECK_PATH} artifacts: reports: junit: mypy-report.xml cache: key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" paths: - .mypy_cache/ python/pytest.yml +1 −5 Original line number Diff line number Diff line Loading @@ -19,12 +19,8 @@ python:pytest: - echo "will run test on PYTHON_PACKAGE=${PYTHON_PACKAGE}" - pip3 install . || true # installs package only if available - pip3 install pytest pytest-cov ${INSTALL_PYTEST_PLUGINS} - python3 -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} - python3 -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 -p no:cacheprovider ${DEFAULT_ARGS} ${EXTRA_ARGS} artifacts: reports: junit: pytest-report.xml cobertura: pytest-coverage.xml cache: key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" paths: - .pytest_cache Loading
python/mypy.yml +1 −4 Original line number Diff line number Diff line Loading @@ -15,11 +15,8 @@ python:mypy: - echo "will run test on PYTHON_PACKAGE=${PYTHON_PACKAGE}" - pip3 install . || true # installs package only if available - pip3 install mypy - mkdir .mypy_cache - mypy --install-types --non-interactive --junit-xml ${CI_PROJECT_DIR}/mypy-report.xml --exclude $MYPY_EXCLUDE_REGEX ${MYPY_DEFAULT_SETTINGS} ${MYPY_EXTRA_SETTINGS} ${CHECK_PATH} artifacts: reports: junit: mypy-report.xml cache: key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" paths: - .mypy_cache/
python/pytest.yml +1 −5 Original line number Diff line number Diff line Loading @@ -19,12 +19,8 @@ python:pytest: - echo "will run test on PYTHON_PACKAGE=${PYTHON_PACKAGE}" - pip3 install . || true # installs package only if available - pip3 install pytest pytest-cov ${INSTALL_PYTEST_PLUGINS} - python3 -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} - python3 -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 -p no:cacheprovider ${DEFAULT_ARGS} ${EXTRA_ARGS} artifacts: reports: junit: pytest-report.xml cobertura: pytest-coverage.xml cache: key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" paths: - .pytest_cache