Hagop Bozawglanian | 0312958 | 2019-02-28 19:09:30 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Hagop Bozawglanian | 30c099f | 2020-01-20 15:36:33 -0800 | [diff] [blame] | 3 | virtualenv -p python3.6 $WORKSPACE/venv-tox |
Hagop Bozawglanian | 0312958 | 2019-02-28 19:09:30 +0000 | [diff] [blame] | 4 | source $WORKSPACE/venv-tox/bin/activate |
| 5 | pip3 install --upgrade pip |
| 6 | pip3 install --no-use-pep517 -r requirements.txt |
| 7 | ls |
Hagop Bozawglanian | f15350c | 2020-01-21 11:06:06 -0800 | [diff] [blame^] | 8 | wget -O $WORKSPACE/ice_validator/heat_requirements.json "https://nexus.onap.org/content/sites/raw/org.onap.vnfrqts.requirements/master/needs.json" && echo "Copied newest needs." || exit 1 |
Hagop Bozawglanian | 0312958 | 2019-02-28 19:09:30 +0000 | [diff] [blame] | 9 | cd ice_validator/ |
| 10 | pytest --self-test tests/ |