diff options
Diffstat (limited to 'run-ci')
-rwxr-xr-x | run-ci | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/bin/bash +# Run GUI Unit Tests as part of the CI Build process# + +set -e + +# When called from openbmc-build-scripts, the `pwd` could be anywhere, but +# the root of the repo is passed in the first argument. Switch to the repo +# root so npm/git run in the right place. +if [ -n "$1" ]; then + cd "$1" +fi + +# It is expected that the format-code script was already run as part of the CI +# so the node modules needed to run this script will be installed +npm run test:unit |