Skip to content
Snippets Groups Projects
Commit 8aac1bee authored by Philipp S. Sommer's avatar Philipp S. Sommer
Browse files

Merge branch 'ci-matrix' into 'develop'

implement CI matrix

See merge request !37
parents 2fe66c74 69f74fdc
No related branches found
No related tags found
2 merge requests!39[release] compatibility and bug fixes, cli improvements and code formatting,!37implement CI matrix
Checking pipeline status
Showing
with 10177 additions and 6 deletions
{
"template": "https://codebase.helmholtz.cloud/psyplot/psyplot-plugin-template.git",
"commit": "f0ad88b667f92604f1c0383a044c4d2546d30887",
"commit": "63fa8a2b3c1bab8e173cb91b9fca045639a243dd",
"checkout": null,
"context": {
"cookiecutter": {
......@@ -26,7 +26,9 @@
"keywords": "visualization,psyplot,netcdf,raster,cartopy,earth-sciences,pyqt,qt,ipython,jupyter,qtconsole",
"documentation_url": "https://psyplot.github.io/psyplot-gui",
"use_markdown_for_documentation": "no",
"ci_build_stage": "no",
"ci_matrix": "pipenv",
"use_pytest_xdist": "no",
"requires_gui": "yes",
"deploy_package_in_ci": "yes",
"deploy_pages_in_ci": "git-push",
......
......@@ -30,6 +30,7 @@ test-package:
test:
stage: test
image: "${IMAGE}"
variables:
PIPENV_PIPFILE: "ci/matrix/${SCENARIO}/Pipfile"
# disable sandboxing, otherwise chrome reports errors when the
......@@ -44,8 +45,24 @@ test:
- xvfb-run make pipenv-test
parallel:
matrix:
- SCENARIO:
- default
- SCENARIO: default
IMAGE: python:3.9
# python scenarios
- SCENARIO: mpl_38_py39
IMAGE: python:3.9
- SCENARIO: mpl_38_py310
IMAGE: python:3.10
- SCENARIO: mpl_38_py311
IMAGE: python:3.11
- SCENARIO: mpl_38_py312
IMAGE: python:3.12
# matplotlib scenarios
- SCENARIO: mpl_35_py39
IMAGE: python:3.9
- SCENARIO: mpl_36_py310
IMAGE: python:3.10
- SCENARIO: mpl_37_py311
IMAGE: python:3.11
artifacts:
name: pipfile
paths:
......
......@@ -18,12 +18,12 @@ Usage::
import os.path as osp
from argparse import ArgumentParser
from pathlib import Path
from textwrap import dedent
from typing import Dict, Optional, TypedDict
import yaml
from reuse.project import Project
from reuse.vcs import find_root
try:
from reuse._annotate import add_arguments as _orig_add_arguments
......@@ -110,7 +110,7 @@ def main(argv=None):
args.year.append(shortcut["year"])
args.copyright.append(shortcut["copyright"])
project = Project(find_root())
project = Project(Path(__file__).parent.parent)
args.func(args, project)
......
......@@ -11,7 +11,6 @@ name = "pypi"
psyplot-gui = {extras = ["testsite"], file = "../../.."}
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
matplotlib = "3.7.*"
PyQt5 = {version="*"}
PyQtWebEngine = {version="*"}
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
......
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
#
# SPDX-License-Identifier: CC0-1.0
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
psyplot-gui = {extras = ["testsite"], file = "../../.."}
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
PyQt5 = {version="*"}
PyQtWebEngine = {version="*"}
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
matplotlib = "3.5.*"
[dev-packages]
[pipenv]
allow_prereleases = true
[requires]
python_version = "3.9"
This diff is collapsed.
SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
#
# SPDX-License-Identifier: CC0-1.0
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
psyplot-gui = {extras = ["testsite"], file = "../../.."}
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
PyQt5 = {version="*"}
PyQtWebEngine = {version="*"}
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
matplotlib = "3.6.*"
[dev-packages]
[pipenv]
allow_prereleases = true
[requires]
python_version = "3.10"
This diff is collapsed.
SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
#
# SPDX-License-Identifier: CC0-1.0
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
psyplot-gui = {extras = ["testsite"], file = "../../.."}
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
PyQt5 = {version="*"}
PyQtWebEngine = {version="*"}
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
matplotlib = "3.7.*"
[dev-packages]
[pipenv]
allow_prereleases = true
[requires]
python_version = "3.11"
This diff is collapsed.
SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
#
# SPDX-License-Identifier: CC0-1.0
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
psyplot-gui = {extras = ["testsite"], file = "../../.."}
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
PyQt5 = {version="*"}
PyQtWebEngine = {version="*"}
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
matplotlib = "3.8.*"
[dev-packages]
[pipenv]
allow_prereleases = true
[requires]
python_version = "3.10"
This diff is collapsed.
SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
#
# SPDX-License-Identifier: CC0-1.0
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
psyplot-gui = {extras = ["testsite"], file = "../../.."}
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
PyQt5 = {version="*"}
PyQtWebEngine = {version="*"}
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
matplotlib = "3.8.*"
[dev-packages]
[pipenv]
allow_prereleases = true
[requires]
python_version = "3.11"
This diff is collapsed.
SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
#
# SPDX-License-Identifier: CC0-1.0
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
psyplot-gui = {extras = ["testsite"], file = "../../.."}
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
PyQt5 = {version="*"}
PyQtWebEngine = {version="*"}
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
matplotlib = "3.8.*"
[dev-packages]
[pipenv]
allow_prereleases = true
[requires]
python_version = "3.12"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment