mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Do not fail formatting test when reusing a build env
This commit is contained in:
parent
d128b30279
commit
5cdf03ff6d
@ -23,8 +23,10 @@ test_formatting:
|
|||||||
allow_failure: true
|
allow_failure: true
|
||||||
before_script:
|
before_script:
|
||||||
# We must manually add the KiCad remote to ensure it is named sensibly
|
# We must manually add the KiCad remote to ensure it is named sensibly
|
||||||
- git remote add product https://gitlab.com/kicad/code/kicad.git
|
- git remote add product https://gitlab.com/kicad/code/kicad.git ||
|
||||||
- git remote add source ${CI_MERGE_REQUEST_SOURCE_PROJECT_URL}.git
|
git remote set-url product https://gitlab.com/kicad/code/kicad.git
|
||||||
|
- git remote add source ${CI_MERGE_REQUEST_SOURCE_PROJECT_URL}.git ||
|
||||||
|
git remote set-url source ${CI_MERGE_REQUEST_SOURCE_PROJECT_URL}.git
|
||||||
- git fetch -n product
|
- git fetch -n product
|
||||||
- git fetch -n source
|
- git fetch -n source
|
||||||
# Get the SHAs of the commits
|
# Get the SHAs of the commits
|
||||||
|
Loading…
x
Reference in New Issue
Block a user