diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml index 1a7c07a9bcdb4a08aefcf1159226b789657be211..993afdcf62144d9201684f344c7b7e03f08f199f 100644 --- a/templates/gitlab-ci-python.yml +++ b/templates/gitlab-ci-python.yml @@ -1306,7 +1306,7 @@ py-pytest: - mkdir -p -m 777 reports - install_requirements - _pip install pytest pytest-cov coverage - - _python -m pytest --junit-xml=reports/TEST-pytests.xml --cov --cov-report term --cov-report xml:reports/py-coverage.cobertura.xml ${PYTEST_ARGS} + - _run pytest --junit-xml=reports/TEST-pytests.xml --cov --cov-report term --cov-report xml:reports/py-coverage.cobertura.xml ${PYTEST_ARGS} rules: # skip if $PYTEST_ENABLED not set - if: '$PYTEST_ENABLED != "true"'