diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c9ae0016c90b88658cbab481bf880ef729a38ce1..e1f912b34cde9b3c4475a77d73b4e2f3edbe4836 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ include:
 variables:
   GIT_SUBMODULE_STRATEGY: normal
   GIT_SUBMODULE_DEPTH: 1
+  XDG_CONFIG_HOME: tests/mednet-ci.toml
 
 documentation:
   before_script:
diff --git a/.reuse/dep5 b/.reuse/dep5
index 5314ea6e597528ba571ecdaa3e5686b76102efe5..fb27b959e3ce20f1d74e7f560f752367575d2924 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -21,5 +21,6 @@ Files:
  tests/data/*.csv
  tests/data/*.json
  tests/data/*.png
+ tests/*.toml
 Copyright: Copyright © 2023 Idiap Research Institute <contact@idiap.ch>
 License: GPL-3.0-or-later
diff --git a/tests/mednet-ci.toml b/tests/mednet-ci.toml
new file mode 100644
index 0000000000000000000000000000000000000000..1eccba371435f50739c65227ae46bbae4d33375a
--- /dev/null
+++ b/tests/mednet-ci.toml
@@ -0,0 +1,5 @@
+[datadir]
+montgomery = "/idiap/resource/database/MontgomeryXraySet"
+shenzhen = "/idiap/resource/database/ShenzhenXraySet"
+indian = "/idiap/resource/database/TBXpredict"
+tbx11k = "/idiap/resource/database/tbx11k"