Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ci-includes
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Bilke
ci-includes
Compare revisions
ebb9ab22d8fead7c44ca8f7d860e83b625d16c91 to 28fcc02e61c8322eb5e30c1dc805a4912c905e0c
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
bilke/ci-includes
Select target project
No results found
28fcc02e61c8322eb5e30c1dc805a4912c905e0c
Select Git revision
Branches
main
python-template-ci
Swap
Target
bilke/ci-includes
Select target project
bilke/ci-includes
berntm/ci-includes
2 results
ebb9ab22d8fead7c44ca8f7d860e83b625d16c91
Select Git revision
Branches
main
python-template-ci
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
[ci] Test multiple python versions.
· 9b0c02c6
Lars Bilke
authored
1 year ago
Verified
9b0c02c6
test
· 28fcc02e
Lars Bilke
authored
1 year ago
Verified
28fcc02e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/base.yml
+14
-1
14 additions, 1 deletion
python/base.yml
test/python.yml
+11
-3
11 additions, 3 deletions
test/python.yml
with
25 additions
and
4 deletions
python/base.yml
View file @
28fcc02e
variables
:
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
.python-versions
:
versions
:
-
"
3.8"
-
"
3.9"
-
"
3.10"
-
"
3.11"
.python-default
:
.python-default
:
image
:
python:
3.8
image
:
python:
$PYTHON_VERSIONS
cache
:
cache
:
paths
:
paths
:
-
.cache/pip
-
.cache/pip
...
@@ -15,3 +22,9 @@ variables:
...
@@ -15,3 +22,9 @@ variables:
when
:
on_failure
when
:
on_failure
paths
:
paths
:
-
"
*.log"
-
"
*.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
]
This diff is collapsed.
Click to expand it.
test/python.yml
View file @
28fcc02e
# keep this in sync with python/base.yml
.py_versions
:
&py_versions
-
"
3.8"
-
"
3.9"
-
"
3.10"
-
"
3.11"
py_build
:
py_build
:
before_script
:
before_script
:
-
!reference
[
.ci-setup
,
script
]
-
!reference
[
.ci-setup
,
script
]
...
@@ -7,6 +14,7 @@ py_build:
...
@@ -7,6 +14,7 @@ py_build:
matrix
:
matrix
:
-
PROJECT_ROOT
:
"
test/python-template"
-
PROJECT_ROOT
:
"
test/python-template"
EXIT_CODE
:
0
EXIT_CODE
:
0
PYTHON_VERSIONS
:
!reference
[
.python-versions
,
versions
]
py_tests
:
py_tests
:
before_script
:
before_script
:
...
@@ -20,9 +28,8 @@ py_tests:
...
@@ -20,9 +28,8 @@ py_tests:
parallel
:
parallel
:
matrix
:
matrix
:
-
PROJECT_ROOT
:
"
test/python-template"
-
PROJECT_ROOT
:
"
test/python-template"
EXIT_CODE
:
0
EXIT_CODE
:
[
0
,
1
]
-
PROJECT_ROOT
:
"
test/python-template"
PYTHON_VERSIONS
:
*py_versions
EXIT_CODE
:
1
allow_failure
:
allow_failure
:
exit_codes
:
1
exit_codes
:
1
...
@@ -35,3 +42,4 @@ py_lint:
...
@@ -35,3 +42,4 @@ py_lint:
matrix
:
matrix
:
-
PROJECT_ROOT
:
"
test/python-template"
-
PROJECT_ROOT
:
"
test/python-template"
EXIT_CODE
:
0
EXIT_CODE
:
0
PYTHON_VERSIONS
:
*py_versions
This diff is collapsed.
Click to expand it.