Skip to content

Commit 5e0702e

Browse files
committed
add test scenarios
1 parent 7eb6ace commit 5e0702e

File tree

9 files changed

+193
-1
lines changed

9 files changed

+193
-1
lines changed

.gitlab-ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ test-package:
3030

3131
test:
3232
stage: test
33+
image: "${IMAGE}"
3334
variables:
3435
PIPENV_PIPFILE: "ci/matrix/${SCENARIO}/Pipfile"
3536
# disable sandboxing, otherwise chrome reports errors when the
@@ -45,6 +46,23 @@ test:
4546
parallel:
4647
matrix:
4748
- SCENARIO: default
49+
IMAGE: python:3.9
50+
# python scenarios
51+
- SCENARIO: mpl_38_py39
52+
IMAGE: python:3.9
53+
- SCENARIO: mpl_38_py310
54+
IMAGE: python:3.10
55+
- SCENARIO: mpl_38_py311
56+
IMAGE: python:3.11
57+
- SCENARIO: mpl_38_py312
58+
IMAGE: python:3.12
59+
# matplotlib scenarios
60+
- SCENARIO: mpl_35_py39
61+
IMAGE: python:3.9
62+
- SCENARIO: mpl_36_py310
63+
IMAGE: python:3.10
64+
- SCENARIO: mpl_37_py311
65+
IMAGE: python:3.11
4866
artifacts:
4967
name: pipfile
5068
paths:

ci/matrix/default/Pipfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ name = "pypi"
1111
psyplot-gui = {extras = ["testsite"], file = "../../.."}
1212
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
1313
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
14-
matplotlib = "3.7.*"
1514
PyQt5 = {version="*"}
1615
PyQtWebEngine = {version="*"}
1716
psyplot_gui_test = {path = "../../../tests/test_plugin/"}

ci/matrix/mpl_35_py39/Pipfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
[[source]]
6+
url = "https://pypi.org/simple"
7+
verify_ssl = true
8+
name = "pypi"
9+
10+
[packages]
11+
psyplot-gui = {extras = ["testsite"], file = "../../.."}
12+
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
13+
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
14+
PyQt5 = {version="*"}
15+
PyQtWebEngine = {version="*"}
16+
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
17+
matplotlib = "3.5.*"
18+
19+
[dev-packages]
20+
21+
[pipenv]
22+
allow_prereleases = true
23+
24+
[requires]
25+
python_version = "3.9"

ci/matrix/mpl_36_py310/Pipfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
[[source]]
6+
url = "https://pypi.org/simple"
7+
verify_ssl = true
8+
name = "pypi"
9+
10+
[packages]
11+
psyplot-gui = {extras = ["testsite"], file = "../../.."}
12+
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
13+
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
14+
PyQt5 = {version="*"}
15+
PyQtWebEngine = {version="*"}
16+
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
17+
matplotlib = "3.6.*"
18+
19+
[dev-packages]
20+
21+
[pipenv]
22+
allow_prereleases = true
23+
24+
[requires]
25+
python_version = "3.10"

ci/matrix/mpl_37_py311/Pipfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
[[source]]
6+
url = "https://pypi.org/simple"
7+
verify_ssl = true
8+
name = "pypi"
9+
10+
[packages]
11+
psyplot-gui = {extras = ["testsite"], file = "../../.."}
12+
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
13+
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
14+
PyQt5 = {version="*"}
15+
PyQtWebEngine = {version="*"}
16+
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
17+
matplotlib = "3.7.*"
18+
19+
[dev-packages]
20+
21+
[pipenv]
22+
allow_prereleases = true
23+
24+
[requires]
25+
python_version = "3.11"

ci/matrix/mpl_38_py310/Pipfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
[[source]]
6+
url = "https://pypi.org/simple"
7+
verify_ssl = true
8+
name = "pypi"
9+
10+
[packages]
11+
psyplot-gui = {extras = ["testsite"], file = "../../.."}
12+
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
13+
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
14+
PyQt5 = {version="*"}
15+
PyQtWebEngine = {version="*"}
16+
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
17+
matplotlib = "3.8.*"
18+
19+
[dev-packages]
20+
21+
[pipenv]
22+
allow_prereleases = true
23+
24+
[requires]
25+
python_version = "3.10"

ci/matrix/mpl_38_py311/Pipfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
[[source]]
6+
url = "https://pypi.org/simple"
7+
verify_ssl = true
8+
name = "pypi"
9+
10+
[packages]
11+
psyplot-gui = {extras = ["testsite"], file = "../../.."}
12+
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
13+
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
14+
PyQt5 = {version="*"}
15+
PyQtWebEngine = {version="*"}
16+
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
17+
matplotlib = "3.8.*"
18+
19+
[dev-packages]
20+
21+
[pipenv]
22+
allow_prereleases = true
23+
24+
[requires]
25+
python_version = "3.11"

ci/matrix/mpl_38_py312/Pipfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
[[source]]
6+
url = "https://pypi.org/simple"
7+
verify_ssl = true
8+
name = "pypi"
9+
10+
[packages]
11+
psyplot-gui = {extras = ["testsite"], file = "../../.."}
12+
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
13+
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
14+
PyQt5 = {version="*"}
15+
PyQtWebEngine = {version="*"}
16+
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
17+
matplotlib = "3.8.*"
18+
19+
[dev-packages]
20+
21+
[pipenv]
22+
allow_prereleases = true
23+
24+
[requires]
25+
python_version = "3.12"

ci/matrix/mpl_38_py39/Pipfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: 2021-2024 Helmholtz-Zentrum hereon GmbH
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
[[source]]
6+
url = "https://pypi.org/simple"
7+
verify_ssl = true
8+
name = "pypi"
9+
10+
[packages]
11+
psyplot-gui = {extras = ["testsite"], file = "../../.."}
12+
psyplot = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psyplot.git"}
13+
psy-simple = {ref = "develop", git = "git+https://codebase.helmholtz.cloud/psyplot/psy-simple.git"}
14+
PyQt5 = {version="*"}
15+
PyQtWebEngine = {version="*"}
16+
psyplot_gui_test = {path = "../../../tests/test_plugin/"}
17+
matplotlib = "3.8.*"
18+
19+
[dev-packages]
20+
21+
[pipenv]
22+
allow_prereleases = true
23+
24+
[requires]
25+
python_version = "3.9"

0 commit comments

Comments
 (0)