Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • bilke/ci-includes
  • berntm/ci-includes
2 results
Show changes
Commits on Source (2)
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
.python-versions:
versions:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
.python-default:
image: python:3.8
image: python:$PYTHON_VERSIONS
cache:
paths:
- .cache/pip
......@@ -15,3 +22,9 @@ variables:
when: on_failure
paths:
- "*.log"
parallel:
matrix:
# we test all released and supported versions
# https://devguide.python.org/versions/#supported-versions
# - PYTHON_VERSIONS: ["3.8", "3.9", "3.10", "3.11"]
- PYTHON_VERSIONS: !reference [.python-versions, versions]
# keep this in sync with python/base.yml
.py_versions: &py_versions
- "3.8"
- "3.9"
- "3.10"
- "3.11"
py_build:
before_script:
- !reference [.ci-setup, script]
......@@ -7,6 +14,7 @@ py_build:
matrix:
- PROJECT_ROOT: "test/python-template"
EXIT_CODE: 0
PYTHON_VERSIONS: !reference [.python-versions, versions]
py_tests:
before_script:
......@@ -20,9 +28,8 @@ py_tests:
parallel:
matrix:
- PROJECT_ROOT: "test/python-template"
EXIT_CODE: 0
- PROJECT_ROOT: "test/python-template"
EXIT_CODE: 1
EXIT_CODE: [0, 1]
PYTHON_VERSIONS: *py_versions
allow_failure:
exit_codes: 1
......@@ -35,3 +42,4 @@ py_lint:
matrix:
- PROJECT_ROOT: "test/python-template"
EXIT_CODE: 0
PYTHON_VERSIONS: *py_versions