Skip to content
Snippets Groups Projects
Commit 69467ae3 authored by Christoph Heidecker's avatar Christoph Heidecker
Browse files

Added ubuntu installation for advanced testing to .gitlab-ci.yml

parent dac7f89e
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -59,4 +59,29 @@ test_navix_centos7_python35:
# terminate all navix processes
- kill $(ps aux | grep 'NaviX.py' | awk '{print $2}')
# return test output
- coverage report -m --omit=/usr/*,tests/*,test_it.py
test_navix_ubuntu_python36:
stage: tests
image: ubuntu:latest
script:
# install python 3
- apt update
- apt install -y python3 python3-pip
# install pyxrootd prerequisites
- apt install -y cmake make zlib1g-dev libssl-dev
# install navix prerequisites
- python3.5 -m pip install six pyyaml coverage XRootD
# manual installation of pyxrootd
# - git clone https://github.com/KIT-ETP-Computing/xrootd-python.git /opt/xrootd-python
# - export XRD_LIBDIR="/usr/lib64"
# - export XRD_INCDIR="/usr/include/xrootd"
# - cd /opt/xrootd-python && python3.4 setup.py install
# change to navix directory
- cd /builds/ETP-HTC/NaviX
# run unit tests of navix and check test coverage
- coverage run test_it.py
# terminate all navix processes
- kill $(ps aux | grep 'NaviX.py' | awk '{print $2}')
# return test output
- coverage report -m --omit=/usr/*,tests/*,test_it.py
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment