From: Daniel Karbach Date: Fri, 23 Feb 2024 13:50:06 +0000 (+0100) Subject: add CI script X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=66cf323a2cab4b9a76e49ad7561e1c5d7226b020;p=alttp.git add CI script --- diff --git a/ci.sh b/ci.sh new file mode 100755 index 0000000..602f7b5 --- /dev/null +++ b/ci.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +composer -nq install +php artisan key:generate +php artisan migrate:fresh +npm clean-install +npm run production +nice php artisan test --without-tty --coverage-html /var/www/coverage/alttp/php +nice npm run test -- --coverage --coverageDirectory /var/www/coverage/alttp/js --coverageReporters html --collectCoverageFrom 'resources/js/**'