Use downloaded bower components in polylint_test.sh
Previously, polylint_test.sh used the local copies of bower components that the PolyGerrit project has in its repo to do local development for testing. This was causing an issue, as these were not found on the CI system. This makes the test take longer, but makes it standalone enough to function on CI. Change-Id: I21f3ed67ade1af352b2ccf21db6644b2bd1d2fee
This commit is contained in:
@@ -189,7 +189,7 @@ sh_test(
|
|||||||
srcs = ["polylint_test.sh"],
|
srcs = ["polylint_test.sh"],
|
||||||
data = [
|
data = [
|
||||||
":pg_code",
|
":pg_code",
|
||||||
":bower_components",
|
"//polygerrit-ui:polygerrit_components.bower_components.zip",
|
||||||
],
|
],
|
||||||
# Should not run sandboxed.
|
# Should not run sandboxed.
|
||||||
tags = [
|
tags = [
|
||||||
|
@@ -15,4 +15,6 @@ if [[ -z "$polylint_bin" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
unzip polygerrit-ui/polygerrit_components.bower_components.zip -d polygerrit-ui/app
|
||||||
|
|
||||||
${polylint_bin} --root polygerrit-ui/app --input elements/gr-app.html
|
${polylint_bin} --root polygerrit-ui/app --input elements/gr-app.html
|
||||||
|
Reference in New Issue
Block a user