From 6ec17405b7206a8b5725308400660718265b38e3 Mon Sep 17 00:00:00 2001
From: dcarron <daniel.carron@idiap.ch>
Date: Tue, 13 Feb 2024 15:52:52 +0100
Subject: [PATCH] [ci] Add a .toml file to specify DB paths in the CI

---
 .gitlab-ci.yml       | 1 +
 .reuse/dep5          | 1 +
 tests/mednet-ci.toml | 5 +++++
 3 files changed, 7 insertions(+)
 create mode 100644 tests/mednet-ci.toml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c9ae0016..e1f912b3 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 5314ea6e..fb27b959 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 00000000..1eccba37
--- /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"
-- 
GitLab