From 7a12beadc89c36ed7d08b4b63e134ed33b419cf3 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Thu, 1 Oct 2020 13:40:23 +0200
Subject: [PATCH] Use CI matrix to factorize a bit the tests of the wrapper

---
 .gitlab/test.yml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/.gitlab/test.yml b/.gitlab/test.yml
index 56444236..65fcbfaf 100644
--- a/.gitlab/test.yml
+++ b/.gitlab/test.yml
@@ -57,3 +57,33 @@ test_spm_mpi_dist:
   dependencies:
     - build_spm_mpi
   <<: *test_script_mpi
+
+test_wrapper_seq:
+  variables:
+    VERSION: seq
+  parallel:
+    matrix:
+      - RUN: python
+        TESTS_RESTRICTION: "-R \"^python_\""
+      - RUN: fortran
+        TESTS_RESTRICTION: "-R \"^fortran_\""
+      - RUN: julia
+        TESTS_RESTRICTION: "-R \"^julia_\""
+  dependencies:
+    - build_spm_seq
+  <<: *test_script_seq
+
+test_wrapper_mpi:
+  variables:
+    VERSION: mpi
+  parallel:
+    matrix:
+      - RUN: python
+        TESTS_RESTRICTION: "-R \"^python_\""
+      - RUN: fortran
+        TESTS_RESTRICTION: "-R \"^fortran_\""
+      - RUN: julia
+        TESTS_RESTRICTION: "-R \"^julia_\""
+  dependencies:
+    - build_spm_mpi
+  <<: *test_script_mpi
-- 
GitLab