Skip to content

Commit

Permalink
ci: make git happy about source clone owned by a different user
Browse files Browse the repository at this point in the history
Different docker images may have different UID of gitlab-runner user.
Workaround this, to make 'git' calls in ci/codecov-wrapper happy.
  • Loading branch information
marmarek committed Apr 14, 2023
1 parent ed7a5e5 commit 17f4162
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ checks:tests:
- sudo dnf install -y python3-pip
- export PATH="$PATH:$HOME/.local/bin"
- pip3 install --quiet -r ci/requirements.txt
- git config --global --add safe.directory "$PWD"
script:
- python3 -m coverage run -m unittest discover -v imgconverter -p test.py
stage: checks
Expand Down

0 comments on commit 17f4162

Please sign in to comment.