Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
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
caosdb-advanced-user-tools
Commits
c660e88c
Commit
c660e88c
authored
2 months ago
by
I. Nüske
Browse files
Options
Downloads
Patches
Plain Diff
CI: Add python 3.14 to tests
parent
0be67e04
No related branches found
No related tags found
2 merge requests
!138
Release 0.14.0
,
!130
Add python 3.14 release candidate to advancedtools pipeline
Pipeline
#61581
passed
2 months ago
Stage: setup
Stage: cert
Stage: style
Stage: unittest
Stage: integrationtest
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-0
22 additions, 0 deletions
.gitlab-ci.yml
with
22 additions
and
0 deletions
.gitlab-ci.yml
+
22
−
0
View file @
c660e88c
...
@@ -162,6 +162,28 @@ unittest_py313:
...
@@ -162,6 +162,28 @@ unittest_py313:
image
:
python:3.13
image
:
python:3.13
script
:
*python_test_script
script
:
*python_test_script
unittest_py314
:
allow_failure
:
true
# remove on release
tags
:
[
docker
]
stage
:
unittest
image
:
python:3.14-rc
script
:
# replace by '*python_test_script' on release
# Install cargo manually, source its env, and set it to accept 3.14 as interpreter
-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
-
. "$HOME/.cargo/env"
-
export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
# Install hdf5 dependencies
-
apt-get update -y
-
apt-get install -y pkg-config libhdf5-dev
# Install packages
-
pip install --break-system-packages git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
-
pip install --break-system-packages .[all]
# Force pytest to current version as 6.x is incompatible with 3.14
-
pip install --upgrade pip
-
pip install pytest==8.3.4
# Run tests
-
pytest --cov=caosadvancedtools unittests
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
pages_prepare
:
&pages_prepare
pages_prepare
:
&pages_prepare
...
...
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