mirror of
https://github.com/dynup/kpatch
synced 2025-03-02 17:01:35 +00:00
tests/integration: fetch pull-request data
Fetch pull-request data before resetting to a specified commit. This will allow us to run integration tests on pull-request using master repo, without cloning the original. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
69acfe8a2f
commit
f3e6f8e538
@ -47,6 +47,7 @@ git clone "${KPATCH_GIT}" || exit 1
|
||||
|
||||
cd kpatch || exit 1
|
||||
|
||||
git fetch origin +refs/pull/*:refs/pull/*
|
||||
git reset --hard "${KPATCH_REV}" || exit 1
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
|
Loading…
Reference in New Issue
Block a user