Skip to content
Snippets Groups Projects
Commit 57f8bdc8 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'f-py312' into 'dev'

Add Python 3.12 to tests

See merge request !132
parents 33af590b b19343e4
No related branches found
No related tags found
2 merge requests!143Release 0.15.0,!132Add Python 3.12 to tests
Pipeline #48879 passed with warnings
...@@ -62,7 +62,7 @@ unittest_py3.7: ...@@ -62,7 +62,7 @@ unittest_py3.7:
script: &python_test_script script: &python_test_script
# Python docker has problems with tox and pip so use plain pytest here # Python docker has problems with tox and pip so use plain pytest here
- touch ~/.pylinkahead.ini - touch ~/.pylinkahead.ini
- pip install nose pytest pytest-cov python-dateutil jsonschema>=4.4.0 - pip install pynose pytest pytest-cov jsonschema>=4.4.0 setuptools
- pip install . - pip install .
- python -m pytest unittests - python -m pytest unittests
...@@ -100,6 +100,22 @@ unittest_py3.11: ...@@ -100,6 +100,22 @@ unittest_py3.11:
image: python:3.11 image: python:3.11
script: *python_test_script script: *python_test_script
unittest_py3.12:
tags: [ docker ]
stage: test
needs: [ ]
image: python:3.12
script: *python_test_script
unittest_py3.13:
allow_failure: true
tags: [ docker ]
stage: test
needs: [ ]
image: python:3.13-rc
script: *python_test_script
# Trigger building of server image and integration tests # Trigger building of server image and integration tests
trigger_build: trigger_build:
stage: deploy stage: deploy
......
...@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### ### Added ###
* Support for Python 3.12
### Changed ### ### Changed ###
### Deprecated ### ### Deprecated ###
......
[tox] [tox]
envlist=py37, py38, py39, py310, py311 envlist=py37, py38, py39, py310, py311, py312, py313
skip_missing_interpreters = true skip_missing_interpreters = true
[testenv] [testenv]
deps = . deps = .
nose pynose
pytest pytest
pytest-cov pytest-cov
jsonschema>=4.4.0 jsonschema>=4.4.0
setuptools
commands=py.test --cov=caosdb -vv {posargs} commands=py.test --cov=caosdb -vv {posargs}
[flake8] [flake8]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment