diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml index f31232a9278df0c79e7fb462056bb1d568577a9d..7119d6e340517166069c98f3105662d93aaf6f45 100644 --- a/templates/gitlab-ci-python.yml +++ b/templates/gitlab-ci-python.yml @@ -1291,7 +1291,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"'