From 66cf323a2cab4b9a76e49ad7561e1c5d7226b020 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Fri, 23 Feb 2024 14:50:06 +0100 Subject: [PATCH] add CI script --- ci.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 ci.sh 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/**' -- 2.39.2