Skip to content
Snippets Groups Projects
Commit 8e5b1f21 authored by Mikhail Karnevskiy's avatar Mikhail Karnevskiy
Browse files

Add integration tests for all python clients.

parent 9aa88749
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,6 @@ test-services-linux-debug:
- upload-python-packages
- build-services-docker-release
test_wheels-python36_dev:
extends: .test_python_wheels_template
variables:
......@@ -160,6 +159,41 @@ test_wheels-python36_dev:
CLIENT_VERSION: 100.0.dev2
PYTEST_KEY: ""
test_wheels-python37_dev:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp37-cp37m
CLIENT_VERSION: 100.0.dev2
PYTEST_KEY: ""
test_wheels-python38_dev:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp38-cp38
CLIENT_VERSION: 100.0.dev2
PYTEST_KEY: ""
test_wheels-python39_dev:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp39-cp39
CLIENT_VERSION: 100.0.dev2
PYTEST_KEY: ""
test_wheels-python310_dev:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp310-cp310
CLIENT_VERSION: 100.0.dev2
PYTEST_KEY: ""
test_wheels-python311_dev:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp311-cp311
CLIENT_VERSION: 100.0.dev2
PYTEST_KEY: ""
test_wheels-python36_22.03.00:
extends: .test_python_wheels_template
variables:
......@@ -167,26 +201,40 @@ test_wheels-python36_22.03.00:
CLIENT_VERSION: 22.03.00
PYTEST_KEY: -m compatible
test_wheels-python37_22.03.00:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp37-cp37m
CLIENT_VERSION: 22.03.00
PYTEST_KEY: -m compatible
test_wheels-python38_22.03.00:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp38-cp38
CLIENT_VERSION: 22.03.00
PYTEST_KEY: -m compatible
test_python_wheels:
services:
- name: gitlab.desy.de:5555/asapo/asapo/asapo-standalone-dev:latest
image:
name: $CI_REGISTRY_IMAGE/asapo-packages-manylinux-build-env:latest
stage: deploy
script:
- python_bin=/opt/python/cp37-cp37m/bin/python
- pip_bin=/opt/python/cp37-cp37m/bin/pip
- cd $CI_PROJECT_DIR/tests/automatic/pytests
- $pip_bin install pytest
- $pip_bin install --trusted-host nims.desy.de --find-links=http://nims.desy.de/extra/asapo/linux_wheels asapo_consumer==100.0.dev2
- $pip_bin install --trusted-host nims.desy.de --find-links=http://nims.desy.de/extra/asapo/linux_wheels asapo_producer==100.0.dev2
- $python_bin -m pytest test_pipeline.py --token-path standalone_token.txt -vv -o log_cli=true --log-cli-level=DEBUG
tags:
- DESY-intern
dependencies:
- upload-python-packages
- build-services-docker-release
test_wheels-python39_22.03.00:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp39-cp39
CLIENT_VERSION: 22.03.00
PYTEST_KEY: -m compatible
test_wheels-python310_22.03.00:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp310-cp310
CLIENT_VERSION: 22.03.00
PYTEST_KEY: -m compatible
test_wheels-python311_22.03.00:
extends: .client-packages-manylinux
variables:
PYTHON_PATH: /opt/python/cp311-cp311
CLIENT_VERSION: 22.03.00
PYTEST_KEY: -m compatible
build-services-linux-release:
extends: .go-cache
......
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