Commit d77d3c64 authored by René Fritze's avatar René Fritze Committed by René Fritze

[ci] test cpp demo for all pythons

parent 3f7c8935
......@@ -180,8 +180,18 @@ ci setup:
- ${CI_PROJECT_DIR}/.ci/gitlab/ci_sanity_check.bash "3.6 3.7 3.8"
#****** test stage
minimal_cpp_demo:
minimal_cpp_demo 3 6:
extends: .pytest
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.6:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.6:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
script: ./.ci/gitlab/cpp_demo.bash
minimal_cpp_demo 3 7:
extends: .pytest
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
......@@ -192,6 +202,17 @@ minimal_cpp_demo:
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
script: ./.ci/gitlab/cpp_demo.bash
minimal_cpp_demo 3 8:
extends: .pytest
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.8:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
script: ./.ci/gitlab/cpp_demo.bash
mpi 3 6:
extends: .pytest
rules:
......
......@@ -183,17 +183,19 @@ ci setup:
#****** test stage
minimal_cpp_demo:
{%- for py in pythons %}
minimal_cpp_demo {{py[0]}} {{py[2]}}:
extends: .pytest
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
services:
- name: {{registry}}/pymor/pypi-mirror_stable_py3.7:{{pypi_mirror_tag}}
- name: {{registry}}/pymor/pypi-mirror_stable_py{{py}}:{{pypi_mirror_tag}}
alias: pypi_mirror
image: {{registry}}/pymor/testing_py3.7:{{ci_image_tag}}
image: {{registry}}/pymor/testing_py{{py}}:{{ci_image_tag}}
script: ./.ci/gitlab/cpp_demo.bash
{%- endfor %}
{%- for script, py, para in matrix %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment