diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9e0304f540090a2dabed891b53209ea5fff7b99..e57352ea2f2257f28fb2255f400bcc6c9c04108a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,6 +48,15 @@ test:frontend: before_script: - mvn dependency:purge-local-repository -DmanualInclude="lcsb.mapviewer" +.jdk_17_template: &jdk_17_definition + image: maven:3.8.5-eclipse-temurin-17 + services: + - postgres:9.6 + stage: test + coverage: '/(\d+.\d+) \% covered/' + before_script: + - mvn dependency:purge-local-repository -DmanualInclude="lcsb.mapviewer" + .hsql_template: &hsql_definition image: maven:3.6.0-jdk-11 stage: test @@ -174,6 +183,10 @@ test:backend:commons:jdk-11: <<: *jdk_11_definition script: *test_backend_commons_definition +test:backend:commons:jdk-17: + <<: *jdk_17_definition + script: *test_backend_commons_definition + test:backend:annotation:jdk-8: <<: *jdk_8_definition script: *test_backend_annotation_definition @@ -186,6 +199,10 @@ test:backend:annotation:jdk-11-hsql: <<: *hsql_definition script: *test_backend_annotation_definition +test:backend:annotation:jdk-17: + <<: *jdk_17_definition + script: *test_backend_annotation_definition + test:backend:CellDesigner_plugin:jdk-8: <<: *jdk_8_definition script: *test_backend_CellDesigner_plugin_definition @@ -203,6 +220,10 @@ test:backend:converter:jdk-11: <<: *jdk_11_definition script: *test_backend_converter_definition +test:backend:converter:jdk-17: + <<: *jdk_17_definition + script: *test_backend_converter_definition + test:backend:converter_CellDesigner:jdk-8: <<: *jdk_8_definition script: *test_backend_converter_CellDesigner_definition @@ -211,6 +232,10 @@ test:backend:converter_CellDesigner:jdk-11: <<: *jdk_11_definition script: *test_backend_converter_CellDesigner_definition +test:backend:converter_CellDesigner:jdk-17: + <<: *jdk_17_definition + script: *test_backend_converter_CellDesigner_definition + test:backend:converter_graphics:jdk-8: <<: *jdk_8_definition script: *test_backend_converter_graphics_definition @@ -219,6 +244,10 @@ test:backend:converter_graphics:jdk-11: <<: *jdk_11_definition script: *test_backend_converter_graphics_definition +test:backend:converter_graphics:jdk-17: + <<: *jdk_17_definition + script: *test_backend_converter_graphics_definition + test:backend:converter_SBGNML:jdk-8: <<: *jdk_8_definition script: *test_backend_converter_SBGNML_definition @@ -227,6 +256,10 @@ test:backend:converter_SBGNML:jdk-11: <<: *jdk_11_definition script: *test_backend_converter_SBGNML_definition +test:backend:converter_SBGNML:jdk-17: + <<: *jdk_17_definition + script: *test_backend_converter_SBGNML_definition + test:backend:converter_SBGNML:jdk-11-hsql: <<: *hsql_definition script: *test_backend_converter_SBGNML_definition @@ -239,6 +272,10 @@ test:backend:converter_SBML:jdk-11: <<: *jdk_11_definition script: *test_backend_converter_SBML_definition +test:backend:converter_SBML:jdk-17: + <<: *jdk_17_definition + script: *test_backend_converter_SBML_definition + test:backend:model:jdk-8: <<: *jdk_8_definition script: *test_backend_model_definition @@ -247,6 +284,10 @@ test:backend:model:jdk-11: <<: *jdk_11_definition script: *test_backend_model_definition +test:backend:model:jdk-17: + <<: *jdk_17_definition + script: *test_backend_model_definition + test:backend:model_command:jdk-8: <<: *jdk_8_definition script: *test_backend_model_command_definition @@ -255,6 +296,10 @@ test:backend:model_command:jdk-11: <<: *jdk_11_definition script: *test_backend_model_command_definition +test:backend:model_command:jdk-17: + <<: *jdk_17_definition + script: *test_backend_model_command_definition + test:backend:pathvisio:jdk-8: <<: *jdk_8_definition script: *test_backend_pathvisio_definition @@ -263,6 +308,10 @@ test:backend:pathvisio:jdk-11: <<: *jdk_11_definition script: *test_backend_pathvisio_definition +test:backend:pathvisio:jdk-17: + <<: *jdk_17_definition + script: *test_backend_pathvisio_definition + test:backend:persist:jdk-8: <<: *jdk_8_definition script: *test_backend_persist_definition @@ -271,6 +320,10 @@ test:backend:persist:jdk-11: <<: *jdk_11_definition script: *test_backend_persist_definition +test:backend:persist:jdk-17: + <<: *jdk_17_definition + script: *test_backend_persist_definition + test:backend:persist:hsql: <<: *hsql_definition script: *test_backend_persist_definition @@ -283,6 +336,10 @@ test:backend:rest:jdk-11: <<: *jdk_11_definition script: *test_backend_rest_definition +test:backend:rest:jdk-17: + <<: *jdk_17_definition + script: *test_backend_rest_definition + test:backend:rest:hsql: <<: *hsql_definition script: *test_backend_rest_definition @@ -295,6 +352,10 @@ test:backend:service:jdk-11: <<: *jdk_11_definition script: *test_backend_service_definition +test:backend:service:jdk-17: + <<: *jdk_17_definition + script: *test_backend_service_definition + test:backend:service:hsql: <<: *hsql_definition script: *test_backend_service_definition @@ -307,6 +368,10 @@ test:backend:web:jdk-11: <<: *jdk_11_definition script: *test_backend_web_definition +test:backend:web:jdk-17: + <<: *jdk_17_definition + script: *test_backend_web_definition + test:backend:web:hsql: <<: *jdk_11_definition script: *test_backend_web_definition