Install packages for murano-dashboard-sanity-check job

Change-Id: Idebf82dc22aa9ed24e27644714af547e0f28f61e
This commit is contained in:
zhurong 2020-04-20 23:24:36 -07:00
parent 22efa8fd7f
commit ced8ef947d
2 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function generate_html_report() {
local html_report="${WORKSPACE}/logs/test_report.html"
if [[ -f "${WORKSPACE}/logs/test_report.xml" ]]; then
$(which python) "$DASHBOARD_DIR/functional_tests/generate_html_report.py" "${xml_report}" "${html_report}"
$(which python3) "$DASHBOARD_DIR/functional_tests/generate_html_report.py" "${xml_report}" "${html_report}"
cp "${html_report}" "${WORKSPACE}/index.html"
fi
}

View File

@ -30,6 +30,9 @@ function run_nosetests() {
function run_tests() {
sudo rm -f /tmp/parser_table.py
sudo pip install "selenium<3.0.0,>=2.50.1"
sudo pip install "nose"
sudo pip install "lxml"
sudo pip install "jinja2"
cd $DASHBOARD_DIR/muranodashboard/tests/functional