Unverified Commit 422b1ebc authored by René Fritze's avatar René Fritze Committed by GitHub
Browse files

Merge pull request #1475 from pymor/ci_re-enable_oldest

Re-enable "oldest" CI job
parents db594182 49b5a0b3
Pipeline #107154 passed with stages
in 40 minutes and 23 seconds
......@@ -87,17 +87,3 @@ services:
image: zivgitlab.wwu.io/pymor/docker/pymor/devpi:${CI_IMAGE_TAG}
restart: "no"
docs:
image: pymor/local_dev:${CI_IMAGE_TAG}
depends_on:
- jupyter
environment:
- PYMOR_FORCE_JUPYTER=1
- PYMOR_WITH_SPHINX=1
- PYMOR_PYTEST_EXTRA
- CI_PROJECT_DIR=/pymor
- CI_COMMIT_REF_NAME
volumes:
- ./..:/pymor
restart: "no"
command: "/pymor/.ci/gitlab/test_docs.bash"
......@@ -24,8 +24,8 @@ stages:
when: never
- when: on_success
variables:
PYPI_MIRROR_TAG: 9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
CI_IMAGE_TAG: 9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
PYPI_MIRROR_TAG: d73b1e8587df79d39526e60e460700da7544e943
CI_IMAGE_TAG: d73b1e8587df79d39526e60e460700da7544e943
PYMOR_HYPOTHESIS_PROFILE: ci
PYMOR_PYTEST_EXTRA: ""
BINDERIMAGE: ${CI_REGISTRY_IMAGE}/binder:${CI_COMMIT_REF_SLUG}
......@@ -59,7 +59,7 @@ stages:
.submit:
extends: .test_base
image: zivgitlab.wwu.io/pymor/docker/pymor/ci_sanity:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/ci_sanity:d73b1e8587df79d39526e60e460700da7544e943
variables:
XDG_CACHE_DIR: /tmp
retry:
......@@ -127,7 +127,7 @@ stages:
when: never
- when: on_success
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/devpi:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/devpi:d73b1e8587df79d39526e60e460700da7544e943
alias: pymor__devpi
before_script:
# bump to our minimal version
......@@ -140,7 +140,7 @@ stages:
.sanity_checks:
extends: .test_base
image: zivgitlab.wwu.io/pymor/docker/pymor/ci_sanity:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/ci_sanity:d73b1e8587df79d39526e60e460700da7544e943
stage: sanity
#******** end definition of base jobs *********************************************************************************#
......@@ -175,7 +175,7 @@ mpi 3 7:
max: 2
when: always
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -198,7 +198,7 @@ mpi 3 8:
max: 2
when: always
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -221,7 +221,7 @@ mpi 3 9:
max: 2
when: always
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -241,9 +241,9 @@ pip_installed 3 7:
variables:
COVERAGE_FILE: coverage_pip_installed__3.7
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.7:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -263,9 +263,9 @@ pip_installed 3 8:
variables:
COVERAGE_FILE: coverage_pip_installed__3.8
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.8:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -285,9 +285,9 @@ pip_installed 3 9:
variables:
COVERAGE_FILE: coverage_pip_installed__3.9
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -307,7 +307,7 @@ tutorials 3 7:
variables:
COVERAGE_FILE: coverage_tutorials__3.7
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -327,7 +327,7 @@ tutorials 3 8:
variables:
COVERAGE_FILE: coverage_tutorials__3.8
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -347,7 +347,7 @@ tutorials 3 9:
variables:
COVERAGE_FILE: coverage_tutorials__3.9
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -367,7 +367,7 @@ vanilla 3 7:
variables:
COVERAGE_FILE: coverage_vanilla__3.7
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -387,7 +387,7 @@ vanilla 3 8:
variables:
COVERAGE_FILE: coverage_vanilla__3.8
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -407,7 +407,7 @@ vanilla 3 9:
variables:
COVERAGE_FILE: coverage_vanilla__3.9
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -427,9 +427,9 @@ numpy_git 3 9:
variables:
COVERAGE_FILE: coverage_numpy_git__3.9
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -440,6 +440,28 @@ numpy_git 3 9:
export PYMOR_HYPOTHESIS_PROFILE="ci"
fi
- ./.ci/gitlab/test_numpy_git.bash
oldest 3 7:
extends: .pytest
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
variables:
COVERAGE_FILE: coverage_oldest__3.7
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_oldest_py3.7:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
echo selecting hypothesis profile "ci_pr" for branch $CI_COMMIT_REF_NAME
export PYMOR_HYPOTHESIS_PROFILE="ci_pr"
else
echo selecting hypothesis profile "ci" for branch $CI_COMMIT_REF_NAME
export PYMOR_HYPOTHESIS_PROFILE="ci"
fi
- ./.ci/gitlab/test_oldest.bash
cpp_demo 3 7:
extends: .pytest
rules:
......@@ -449,7 +471,7 @@ cpp_demo 3 7:
variables:
COVERAGE_FILE: coverage_cpp_demo__3.7
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -469,7 +491,7 @@ cpp_demo 3 8:
variables:
COVERAGE_FILE: coverage_cpp_demo__3.8
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -489,7 +511,7 @@ cpp_demo 3 9:
variables:
COVERAGE_FILE: coverage_cpp_demo__3.9
services:
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:d73b1e8587df79d39526e60e460700da7544e943
script:
- |
if [[ "$CI_COMMIT_REF_NAME" == *"github/PR_"* ]]; then
......@@ -509,9 +531,9 @@ ci_weekly 3 7:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.7:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:d73b1e8587df79d39526e60e460700da7544e943
script: ./.ci/gitlab/test_vanilla.bash
ci_weekly 3 8:
......@@ -523,9 +545,9 @@ ci_weekly 3 8:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.8:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.8:d73b1e8587df79d39526e60e460700da7544e943
script: ./.ci/gitlab/test_vanilla.bash
ci_weekly 3 9:
......@@ -537,9 +559,9 @@ ci_weekly 3 9:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.9:d73b1e8587df79d39526e60e460700da7544e943
script: ./.ci/gitlab/test_vanilla.bash
......@@ -559,6 +581,7 @@ submit coverage:
- vanilla 3 8
- vanilla 3 9
- numpy_git 3 9
- oldest 3 7
submit ci_weekly 3 7:
extends: .submit
rules:
......@@ -589,7 +612,7 @@ submit ci_weekly 3 9:
from source 1/3:
tags: [mike]
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
needs: ["ci setup"]
rules:
......@@ -597,13 +620,13 @@ from source 1/3:
when: never
- when: on_success
stage: install_checks
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_fedora:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_fedora:d73b1e8587df79d39526e60e460700da7544e943
script: ./.ci/gitlab/install_checks/fedora/check.bash
from source 2/3:
tags: [mike]
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.7:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
needs: ["ci setup"]
rules:
......@@ -611,13 +634,13 @@ from source 2/3:
when: never
- when: on_success
stage: install_checks
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_debian-buster:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_debian-buster:d73b1e8587df79d39526e60e460700da7544e943
script: ./.ci/gitlab/install_checks/debian-buster/check.bash
from source 3/3:
tags: [mike]
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
needs: ["ci setup"]
rules:
......@@ -625,7 +648,7 @@ from source 3/3:
when: never
- when: on_success
stage: install_checks
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_debian-bullseye:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_debian-bullseye:d73b1e8587df79d39526e60e460700da7544e943
script: ./.ci/gitlab/install_checks/debian-bullseye/check.bash
......@@ -708,7 +731,7 @@ sdist_and_wheel:
pypi:
extends: .test_base
image: zivgitlab.wwu.io/pymor/docker/pymor/python_3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/python_3.9:d73b1e8587df79d39526e60e460700da7544e943
stage: deploy
dependencies:
- sdist_and_wheel
......@@ -740,7 +763,7 @@ from wheel 1/3:
extends: .check_wheel
dependencies: ["sdist_and_wheel"]
needs: ["sdist_and_wheel"]
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_fedora:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_fedora:d73b1e8587df79d39526e60e460700da7544e943
script:
- echo "Testing wheel install on fedora with Python 3.9"
- python3 -m pip --version
......@@ -750,7 +773,7 @@ from wheel 2/3:
extends: .check_wheel
dependencies: ["sdist_and_wheel"]
needs: ["sdist_and_wheel"]
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_debian-buster:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_debian-buster:d73b1e8587df79d39526e60e460700da7544e943
script:
- echo "Testing wheel install on debian-buster with Python 3.7"
- python3 -m pip --version
......@@ -760,7 +783,7 @@ from wheel 3/3:
extends: .check_wheel
dependencies: ["sdist_and_wheel"]
needs: ["sdist_and_wheel"]
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_debian-bullseye:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/deploy_checks_debian-bullseye:d73b1e8587df79d39526e60e460700da7544e943
script:
- echo "Testing wheel install on debian-bullseye with Python 3.9"
- python3 -m pip --version
......@@ -774,9 +797,9 @@ docs build 3 7:
when: never
- when: on_success
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.7:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/jupyter_py3.7:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/jupyter_py3.7:d73b1e8587df79d39526e60e460700da7544e943
script:
- ${CI_PROJECT_DIR}/.ci/gitlab/test_docs.bash
stage: build
......@@ -794,9 +817,9 @@ docs build 3 8:
when: never
- when: on_success
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.8:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/jupyter_py3.8:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/jupyter_py3.8:d73b1e8587df79d39526e60e460700da7544e943
script:
- ${CI_PROJECT_DIR}/.ci/gitlab/test_docs.bash
stage: build
......@@ -814,9 +837,9 @@ docs build 3 9:
when: never
- when: on_success
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.9:d73b1e8587df79d39526e60e460700da7544e943
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/jupyter_py3.9:9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
image: zivgitlab.wwu.io/pymor/docker/pymor/jupyter_py3.9:d73b1e8587df79d39526e60e460700da7544e943
script:
- ${CI_PROJECT_DIR}/.ci/gitlab/test_docs.bash
stage: build
......
......@@ -9,11 +9,12 @@ fi
export PYTHONPATH_PRE=${PYTHONPATH}
export PYTHONPATH=${CI_PROJECT_DIR}/src:${PYTHONPATH}
export PATH=~/.local/bin:${PATH}
export PYBIND11_DIR=$(python3 -c "import sysconfig; print(sysconfig.get_path('purelib'))")
export PYMOR_ROOT="$(cd "$(dirname ${BASH_SOURCE[0]})" ; cd ../../ ; pwd -P )"
cd "${PYMOR_ROOT}"
# any failure here should fail the whole test
set -eux
#set -eux
# switches default index to pypi-mirror service
export PIP_CONFIG_FILE=/usr/local/share/ci.pip.conf
......
......@@ -395,7 +395,7 @@ docs:
tpl = jinja2.Template(tpl)
pythons = ['3.7', '3.8', '3.9']
oldest = []
oldest = [pythons[0]]
newest = [pythons[-1]]
test_scripts = [
("mpi", pythons, 1),
......
......@@ -2,8 +2,8 @@ DOCKER_BASE_PYTHON=3.9
PYMOR_TEST_SCRIPT=vanilla
PYPI_MIRROR=stable
PYMOR_TEST_OS=debian-buster
PYPI_MIRROR_TAG=9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
CI_IMAGE_TAG=9a6db6e32d2dc610a3b1a40b5d7f6b571aad3eaf
PYPI_MIRROR_TAG=d73b1e8587df79d39526e60e460700da7544e943
CI_IMAGE_TAG=d73b1e8587df79d39526e60e460700da7544e943
PYMOR_HYPOTHESIS_PROFILE=dev
PYMOR_PYTEST_EXTRA=--lf
......@@ -97,7 +97,7 @@ docker_image:
$(DOCKER_COMPOSE) build
docker_docs: docker_image
NB_DIR=notebooks $(DOCKER_COMPOSE) run docs ./.ci/gitlab/test_docs.bash
NB_DIR=notebooks $(DOCKER_COMPOSE) run jupyter ./.ci/gitlab/test_docs.bash
docker_run: docker_image
$(DOCKER_COMPOSE) run --service-ports pytest bash
......@@ -111,6 +111,9 @@ docker_tutorials: docker_docs docker_jupyter
docker_test: docker_image
PYMOR_TEST_SCRIPT=$(PYMOR_TEST_SCRIPT) $(DOCKER_COMPOSE) up pytest
docker_test_oldest: docker_image
PYMOR_TEST_SCRIPT=oldest PYPI_MIRROR=oldest DOCKER_BASE_PYTHON=3.7 $(DOCKER_COMPOSE) up pytest
docker_jupyter: docker_image
NB_DIR=$(NB_DIR) $(DOCKER_COMPOSE) up jupyter
docker_wheel_check: docker_image
......
......@@ -14,12 +14,12 @@ _PYSIDE = 'PySide2!=5.15.2,!=5.15.2.*,!=5.11.*,!=5.12.*'
def _numpy_scipy():
# numpy versions with filters according to minimal version with a wheel
numpys = [
'numpy>=1.15.4;python_version == "3.7"',
'numpy>=1.16.0;python_version == "3.7"',
'numpy>=1.17.5;python_version == "3.8"',
'numpy>=1.19.4;python_version >= "3.9"',
]
scipys = [
'scipy>=1.1;python_version < "3.8"',
'scipy>=1.3;python_version < "3.8"',
'scipy>=1.3.3;python_version == "3.8"',
'scipy>=1.5.4;python_version >= "3.9"',
]
......@@ -69,7 +69,7 @@ doc_requires = ['sphinx>=3.4', 'matplotlib', _PYSIDE, 'ipyparallel>=6.2.5', 'pyt
'sphinxcontrib-bibtex', 'sphinx-autoapi>=1.8', 'myst-nb'] + install_requires
ci_requires = [_PYTEST, 'pytest-cov', 'pytest-xdist', 'check-manifest', 'nbconvert', 'pytest-parallel',
'readme_renderer[md]', 'rstcheck', 'codecov', 'twine', 'pytest-memprof',
'flake8-rst-docstrings', 'flake8-docstrings', 'pytest-datadir',
'flake8-rst-docstrings', 'flake8-docstrings', 'pytest-datadir', 'pybind11',
'docutils', "pypi-oldest-requirements>=2021.2", 'hypothesis[numpy,pytest]>=5.19',
'PyQt5!=5.15.2,>5.7,!=5.15.2.*,!=5.15.4,!=5.15.3']
import_names = {
......
......@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 3.1)
set(PYTHON_EXECUTABLE /usr/local/bin/python3 CACHE PATH "")
project(minimal-cpp-demo)
find_package(pybind11 CONFIG REQUIRED)
find_package(pybind11 CONFIG REQUIRED HINTS ${PYBIND11_DIR} ${PYBIND11_ROOT}
$ENV{PYBIND11_DIR} $ENV{PYBIND11_ROOT})
message(STATUS "Found pybind11 v${pybind11_VERSION}: ${pybind11_INCLUDE_DIRS}")
# Create an extension module
......
......@@ -8,6 +8,7 @@ flake8-docstrings
flake8-rst-docstrings
hypothesis[numpy,pytest]>=5.19
nbconvert
pybind11
pypi-oldest-requirements>=2021.2
pytest-cov
pytest-datadir
......
......@@ -20,7 +20,7 @@ mpi4py>=3.0.3;python_version >= "3.9"
mpi4py>=3.0;python_version < "3.9"
myst-nb
nbresuse
numpy>=1.15.4;python_version == "3.7"
numpy>=1.16.0;python_version == "3.7"
numpy>=1.17.5;python_version == "3.8"
numpy>=1.19.4;python_version >= "3.9"
packaging
......@@ -33,8 +33,8 @@ pytest>=4.4
python-slugify
pythreejs
qtpy
scipy>=1.1;python_version < "3.8"
scipy>=1.3.3;python_version == "3.8"
scipy>=1.3;python_version < "3.8"
scipy>=1.5.4;python_version >= "3.9"
slycot>=0.4.0
sphinx-autoapi>=1.8
......
# This file is autogenerated. Edit dependencies.py instead
click
diskcache
numpy>=1.15.4;python_version == "3.7"
numpy>=1.16.0;python_version == "3.7"
numpy>=1.17.5;python_version == "3.8"
numpy>=1.19.4;python_version >= "3.9"
packaging
pytest-runner>=2.9
qtpy
scipy>=1.1;python_version < "3.8"
scipy>=1.3.3;python_version == "3.8"
scipy>=1.3;python_version < "3.8"
scipy>=1.5.4;python_version >= "3.9"
setuptools>=40.8.0,<49.2.0;python_version < "3.9"
setuptools>=49.1,<49.2.0;python_version >= "3.9"
......
......@@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 3.1)
project(minimal-cpp-demo)
find_package(pybind11 CONFIG REQUIRED)
find_package(pybind11 CONFIG REQUIRED HINTS ${PYBIND11_DIR} ${PYBIND11_ROOT}
$ENV{PYBIND11_DIR} $ENV{PYBIND11_ROOT})
message(STATUS "Found pybind11 v${pybind11_VERSION}: ${pybind11_INCLUDE_DIRS}")
# Create an extension module
......
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