ci: add test step for python 11 (#319)

This commit is contained in:
Robert Kaussow 2022-11-02 13:01:49 +01:00 committed by GitHub
parent 081e7784ed
commit 1f964c5f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -78,6 +78,7 @@ local PipelineTest = {
PythonVersion(pyversion='3.8'), PythonVersion(pyversion='3.8'),
PythonVersion(pyversion='3.9'), PythonVersion(pyversion='3.9'),
PythonVersion(pyversion='3.10'), PythonVersion(pyversion='3.10'),
PythonVersion(pyversion='3.11'),
{ {
name: 'codecov', name: 'codecov',
image: 'python:3.10', image: 'python:3.10',

View File

@ -105,6 +105,20 @@ steps:
depends_on: depends_on:
- fetch - fetch
- name: python311-pytest
image: python:3.11
commands:
- pip install poetry poetry-dynamic-versioning -qq
- poetry config experimental.new-installer false
- poetry install
- poetry run pytest --cov-append
- poetry version
- poetry run prometheus-pve-sd --help
environment:
PY_COLORS: 1
depends_on:
- fetch
- name: codecov - name: codecov
image: python:3.10 image: python:3.10
commands: commands:
@ -647,6 +661,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: fb17f8e878e4a97dc5654eb0a32d3b23b5154a5b7d1d499997d7dd4f1d827880 hmac: 4f8dde7e823ea957355a10b2251c5cb5ad35c05a026fa11c8e236b4ff3d0c8d4
... ...