Skip to content

Commit

Permalink
fix: Checkout branch in ExaTrk CI
Browse files Browse the repository at this point in the history
Currently, the ExaTrk CI is trying to run a dependency script before
having properly checked out the right branch, possible causing a CI
error. This commit ensures that the target branch is properly checked
out before trying to use any files in the repository.
  • Loading branch information
stephenswat committed Dec 7, 2024
1 parent 1ebd328 commit c59dcfa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ test_exatrkx_unittests:

- apt-get update -y
- git clone $CLONE_URL src
- source src/CI/dependencies.sh
- cd src
- git checkout $HEAD_SHA
- source CI/dependencies.sh
- cd ..
- ctest --test-dir build -R ExaTrkX

test_exatrkx_python:
Expand Down

0 comments on commit c59dcfa

Please sign in to comment.