From 50b4968e31785e82b820989ce7e015fa876d6b19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 16 Mar 2023 18:39:43 +0100
Subject: [PATCH] CI: clone specific commit of m-unit-tests repository since
 HEAD is no longer compatible

---
 .gitlab-ci.yml | 2 +-
 Makefile       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 288e2d8..9bb89c3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ variables:
   OLD_MATLAB_VERSION: R2014a
 
 before_script:
-  - git clone https://git.dynare.org/Dynare/m-unit-tests
+  - git clone https://git.dynare.org/Dynare/m-unit-tests && cd m-unit-tests && git checkout 343d9e13654a07c348fad863f7f79a03896c6bc9
 
 test_matlab:
   stage: test
diff --git a/Makefile b/Makefile
index cafff1d..4580b0a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ MATLAB ?= matlab
 all: check-octave check-matlab
 
 m-unit-tests/src/mtest.m:
-	git clone https://git.dynare.org/Dynare/m-unit-tests
+	git clone https://git.dynare.org/Dynare/m-unit-tests && cd m-unit-tests && git checkout 343d9e13654a07c348fad863f7f79a03896c6bc9
 
 check-octave: m-unit-tests/src/mtest.m
 	@cd tests ;\
-- 
GitLab