Commit 543229ce authored by Jan Kiene's avatar Jan Kiene
Browse files

add up-to-date check to BE test as well

parent 4b7574d6
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -441,6 +441,14 @@ stages:
    HTML_REPORT: "report--$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA.html"
  script:
    - set -euxo pipefail

    - *get-commits-behind-count
    - |
      if [ $commits_behind_count -ne 0 ]; then
        echo -e "Your branch is $commits_behind_count commits behind the target branch, possibly main changed during your pipeline run. Checking bitexactness now can result in meaningless results. Run\n\t git pull origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME\nto update."
        exit 1
      fi

    - *print-common-info
    - *update-scripts-repo