Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LinkAhead Loan
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
LinkAhead Loan
Commits
6569315f
Commit
6569315f
authored
2 months ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
FIX: gitlab yml
parent
0cae261e
No related branches found
Branches containing commit
No related tags found
1 merge request
!4
F unittest pipe
Pipeline
#59966
failed
2 months ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-19
22 additions, 19 deletions
.gitlab-ci.yml
with
22 additions
and
19 deletions
.gitlab-ci.yml
+
22
−
19
View file @
6569315f
...
...
@@ -62,47 +62,50 @@ info:
script
:
-
*env
unittest_py3.11
:
tags
:
[
cached-dind
]
stage
:
test
image
:
$CI_REGISTRY_IMAGE
script
:
-
python3 -c "import sys; assert sys.version.startswith('3.11')"
-
tox
unittest_py3.8
:
unittest_py3.9
:
tags
:
[
cached-dind
]
stage
:
test
image
:
python:3.8
variables
:
PYVER
:
"
3.9"
image
:
python:3.9
script
:
&python_test_script
# install dependencies
-
*env
-
pip install pytest pytest-cov
-
python3 -c "import sys; assert sys.version.startswith('$PYVER')"
# actual test
-
cd l
a
onpy && pytest --cov=l
inkahead_python_package_template
-vv ./unittests
-
cd lo
a
npy && pytest --cov=l
oanpy
-vv ./unittests
unittest_py3.9
:
tags
:
[
cached-dind
]
unittest_py3.10
:
variables
:
PYVER
:
"
3.10"
stage
:
test
image
:
python:3.11
tags
:
[
cached-dind
]
image
:
python:3.10
script
:
*python_test_script
unittest_py3.10
:
unittest_py3.11
:
variables
:
PYVER
:
"
3.11"
tags
:
[
cached-dind
]
stage
:
test
image
:
python:3.1
0
image
:
python:3.1
1
script
:
*python_test_script
unittest_py3.12
:
tags
:
[
cached-dind
]
variables
:
PYVER
:
"
3.12"
stage
:
test
tags
:
[
cached-dind
]
image
:
python:3.12
script
:
*python_test_script
unittest_py3.13
:
allow_failure
:
true
variables
:
PYVER
:
"
3.13"
tags
:
[
cached-dind
]
stage
:
test
image
:
python:3.13
-rc
image
:
python:3.13
script
:
*python_test_script
build-testenv
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment