Hagop Bozawglanian | 0312958 | 2019-02-28 19:09:30 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Hagop Bozawglanian | f4d1f9e | 2020-04-01 15:04:29 -0700 | [diff] [blame] | 3 | python3 -m venv $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/ |