Skip to content
Snippets Groups Projects

Added custom LofarDeviceProxy to enhance support for high-dimensional arrays in attribtues

Merged Jan David Mol requested to merge reshape-highdim-arrays into main
All threads resolved!
Compare and Show latest version
1 file
+ 15
10
Compare changes
  • Side-by-side
  • Inline
+ 15
10
@@ -19,7 +19,7 @@ stages:
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
build_test_image:
build_test_image_python37:
stage: image
image: docker
services:
@@ -58,32 +58,37 @@ run_unit_tests_py37:
- echo "run python3.7 unit tests /w coverage"
- tox -e py37
run_unit_tests_py38:
image: python:3.8-buster
.run_unit_tests_pyXX:
# installs the prerequisites explicitly, instead of piggy backing
# on the ci_python37 image. This allows us to use different base
# images with different python versions.
stage: test
script:
before_script:
- apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y libboost-python-dev libtango-dev # Needed to install pytango
- python -m pip install --upgrade pip
- pip install --upgrade tox
run_unit_tests_py38:
extends: .run_unit_tests_pyXX
image: python:3.8-buster
script:
- echo "run python3.8 unit tests /w coverage"
- tox -e py38
run_unit_tests_py39:
extends: .run_unit_tests_pyXX
image: python:3.9-bullseye
stage: test
script:
- apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y libboost-python-dev libtango-dev # Needed to install pytango
- pip install --upgrade tox
- echo "run python3.9 unit tests /w coverage"
- tox -e py39
run_unit_tests_py310:
extends: .run_unit_tests_pyXX
image: python:3.10-bullseye
stage: test
script:
# Debian Bullseye ships with libboost-python linked to Python 3.9. Use the one from Debian Sid instead.
- echo 'deb http://deb.debian.org/debian sid main' >> /etc/apt/sources.list
- apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y libboost-python1.74-dev libtango-dev # Needed to install pytango
- pip install --upgrade tox
- apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y libboost-python1.74-dev
- echo "run python3.10 unit tests /w coverage"
- tox -e py310
Loading