[ci] remove NB test infra

parent c53a1a42
Pipeline #68580 passed with stages
in 45 minutes and 45 seconds
......@@ -285,78 +285,6 @@ mpi 3 8:
- ./.ci/gitlab/test_mpi.bash
- find . -name "coverage*"
- ls -la *
notebooks_dir 3 6:
extends: .pytest
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
variables:
COVERAGE_FILE: coverage_notebooks_dir__3.6
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:
- |
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_notebooks_dir.bash
- find . -name "coverage*"
- ls -la *
notebooks_dir 3 7:
extends: .pytest
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
variables:
COVERAGE_FILE: coverage_notebooks_dir__3.7
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.7:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/testing_py3.7:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
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_notebooks_dir.bash
- find . -name "coverage*"
- ls -la *
notebooks_dir 3 8:
extends: .pytest
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
variables:
COVERAGE_FILE: coverage_notebooks_dir__3.8
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:
- |
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_notebooks_dir.bash
- find . -name "coverage*"
- ls -la *
pip_installed 3 6:
extends: .pytest
rules:
......
......@@ -428,7 +428,7 @@ tpl = jinja2.Template(tpl)
pythons = ['3.6', '3.7', '3.8']
oldest = [pythons[0]]
newest = [pythons[-1]]
test_scripts = [("mpi", pythons, 1), ("notebooks_dir", pythons, 1), ("pip_installed", pythons, 1),
test_scripts = [("mpi", pythons, 1), ("pip_installed", pythons, 1),
("vanilla", pythons, 1), ("numpy_git", newest, 1), ("oldest", oldest, 1),]
# these should be all instances in the federation
binder_urls = [f'https://{sub}.mybinder.org/build/gh/pymor/pymor' for sub in ('gke', 'ovh', 'gesis')]
......
#!/bin/bash
THIS_DIR="$(cd "$(dirname ${BASH_SOURCE[0]})" ; pwd -P )"
source ${THIS_DIR}/common_test_setup.bash
xvfb-run -a py.test ${COMMON_PYTEST_OPTS} --cov=src/pymor notebooks/test.py
coverage xml
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