Commit 23c8c198 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

TestPipeline: added all package dependencies to setup.py. Use

'python3 -m pytest- to run tests to get coverage.
parent 3e723b26
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -80,8 +80,8 @@ test:csp-lmc-common:
    - cd $COMMON_BUILD_PATH
    - pwd
    - python3 -m pip install -r requirements-tst.txt
    - python3 -m pip install --extra-index-url https://nexus.engageska-portugal.pt/repository/pypi/simple -r requirements.txt .
    - python3 setup.py test | tee setup_py_test.stdout  
    - python3 -m pip install -r requirements.txt .
    - python3 -m pytest tests | tee setup_py_test.stdout  
    - pwd
    - mkdir -p build/reports
    - ls -alR
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,8 @@ setup(
            'pytango >9.3.1',
            'future',
            'lmcbaseclasses',
            'ska-telescope-model',
            'ska-log-transactions'
        ],
        dependency_links=[
            'https://nexus.engageska-portugal.pt/repository/pypi/simple'