Skip to content

Commit 48a7aab

Browse files
committed
fix source check for Python (did nothing)
also include submodule checkout in source test
1 parent 03a7803 commit 48a7aab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ core:
138138
for COMMIT in ${COMMITS};do
139139
printf "%b" "\e[1;32m::\nchecking commit ${COMMIT}\n::\e[0m\n"
140140
git checkout ${COMMIT}
141+
git submodule update --init
141142
cmake -DGRID=ON -DMESH=ON -B build && cmake --build build --parallel 4 --target install
142143
done
143144
@@ -150,6 +151,7 @@ processing:
150151
COMMITS=$(git log --reverse --format=format:%H origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME..$CI_COMMIT_SHA)
151152
for COMMIT in ${COMMITS};do
152153
printf "%b" "\e[1;32m::\nchecking commit ${COMMIT}\n::.\e[0m\n"
154+
git checkout ${COMMIT}
153155
python -c 'import damask;print(damask.__version__)'
154156
done
155157

0 commit comments

Comments
 (0)