mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-28 18:01:22 -06:00
Run yarn tasks where required to run the tests.
This commit is contained in:
parent
bd917f2348
commit
c5616c7869
@ -26,6 +26,10 @@ fi
|
||||
$WORKSPACE/pgadmin-venv/bin/pip install -r requirements.txt || { echo 'ERROR: Failed to install the application requirements.' ; exit 1; }
|
||||
$WORKSPACE/pgadmin-venv/bin/pip install -r web/regression/requirements.txt || { echo 'ERROR: Failed to install the regression test requirements.' ; exit 1; }
|
||||
|
||||
cd web
|
||||
/usr/bin/yarn run bundle || { echo 'ERROR: Failed to bundle the Javascript code.' ; exit 1; }
|
||||
cd ../
|
||||
|
||||
echo "Running regression tests..."
|
||||
echo
|
||||
|
||||
|
@ -5,5 +5,6 @@ echo
|
||||
|
||||
cd $WORKSPACE/web/
|
||||
|
||||
/bin/npm install || { echo 'ERROR: Failed to install the required Javascript modules.' ; exit 1; }
|
||||
/usr/bin/yarn install || { echo 'ERROR: Failed to install the required Javascript modules.' ; exit 1; }
|
||||
/usr/bin/yarn run linter || { echo 'ERROR: Failed to lint the Javascript code.' ; exit 1; }
|
||||
./node_modules/.bin/karma start --single-run || { echo 'ERROR: Error detected when running the Jasmine tests.' ; exit 1; }
|
||||
|
Loading…
Reference in New Issue
Block a user