use full depth fetch instead of unshallow

This commit is contained in:
Robert Kaussow 2023-10-02 13:57:18 +02:00
parent 8c1c29e59a
commit 475e0f213c
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -16,8 +16,7 @@ steps:
fetch: fetch:
image: docker.io/library/python:3.11 image: docker.io/library/python:3.11
commands: commands:
- > - git fetch --depth=2147483647
[ -f "$(git rev-parse --is-shallow-repository)" ] && git fetch --unshallow || true
pytest: pytest:
image: ${PYTHON_VERSION} image: ${PYTHON_VERSION}