diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 31a599c3e4e1a44d93d647e9cf9b96fcf1727f2a..300ef266474d8950d56502f2a1b7b82016c547ec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,6 @@
 variables:
   MATLAB_VERSION: R2022b
   OLD_MATLAB_VERSION: R2014a
-  OCTAVE_VERSION: 7.3.0
 
 before_script:
   - git clone https://git.dynare.org/Dynare/dseries.git
@@ -25,7 +24,7 @@ test_old_matlab:
 test_octave:
   stage: test
   script:
-    - make check-octave OCTAVE=/usr/local/octave/$OCTAVE_VERSION/bin/octave
+    - make check-octave
   artifacts:
     paths:
       - test/my/report/dir/report.pdf