Skip to content

Commit 3b00c24

Browse files
committed
git fetch remote fetches the remote into FETCH_HEAD not into origin/main.
So the line that follows doesn't really do anything. This fixes it to do the checkout from the nearly fetched data. Yay git!
1 parent 94f0aff commit 3b00c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psij-ci-run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fi
5454

5555
# Ensure latest test runner is there
5656
git fetch https://github.com/ExaWorks/psi-j-python.git
57-
git checkout origin/main -- tests/ci_runner.py
57+
git checkout FETCH_HEAD -- tests/ci_runner.py
5858

5959

6060
if [ "$REPEAT" == "1" ]; then

0 commit comments

Comments
 (0)