mirror of
https://github.com/rust-vmm/rust-vmm-ci.git
synced 2026-08-05 03:08:31 +00:00
Fetch origin in benchmark test
Before running `git checkout` on the upstream master branch, we should also fetch that branch. Signed-off-by: Laura Loghin <lauralg@amazon.com>
This commit is contained in:
committed by
Alexandru Agache
parent
35beb918b7
commit
bd32544c00
@@ -21,6 +21,10 @@ def test_bench():
|
||||
_run_cargo_bench("after")
|
||||
|
||||
# Move to upstream tip.
|
||||
subprocess.run(
|
||||
"git fetch {} {}".format(REMOTE, BRANCH),
|
||||
shell=True, check=True
|
||||
)
|
||||
subprocess.run(
|
||||
"git checkout {}/{}".format(REMOTE, BRANCH),
|
||||
shell=True, check=True
|
||||
|
||||
Reference in New Issue
Block a user