A free open source IT asset/license management system
Merge Laravel setup steps
Marcus Moorebe6545a366e2
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex f232bf6fd7..611c1171b6 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -57,27 +57,17 @@ jobs:- name: Install Dependenciesrun: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist- - name: Generate key- run: php artisan key:generate-- - name: Migrate Database+ - name: Setup Laravelenv:DB_CONNECTION: mysqlDB_DATABASE: snipeitDB_PORT: ${{ job.services.mysql.ports[3306] }}DB_USERNAME: root- run: php artisan migrate --force-- - name: Install Passport- env:- DB_CONNECTION: mysql- DB_DATABASE: snipeit- DB_PORT: ${{ job.services.mysql.ports[3306] }}- DB_USERNAME: root- run: php artisan passport:install-- - name: Directory Permissions- run: chmod -R 777 storage bootstrap/cache+ run: |+ php artisan key:generate+ php artisan migrate --force+ php artisan passport:install+ chmod -R 777 storage bootstrap/cache- name: Execute tests (Unit and Feature tests) via PHPUnitenv: