.gitlab-ci.yml: allow pip to break system packages, we are in virtual environment anyway

This commit is contained in:
Aminda Suomalainen 2024-01-11 21:58:31 +02:00
parent b1ef3cae45
commit aad0398b57
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -38,7 +38,7 @@ gitlab-ci-pre-commit:
stage: build stage: build
before_script: before_script:
- apk add --no-cache python3 python3-dev py3-pip py3-wheel git gcc musl-dev bash nodejs-current npm ruby ruby-bundler - apk add --no-cache python3 python3-dev py3-pip py3-wheel git gcc musl-dev bash nodejs-current npm ruby ruby-bundler
- pip install pre-commit - pip install pre-commit --break-system-packages
script: script:
- pre-commit run --all-files --show-diff-on-failure - pre-commit run --all-files --show-diff-on-failure
variables: variables: