diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 680a3e7..221c53b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,8 +16,17 @@ jobs: tools: composer:v2 coverage: xdebug + - name: Create .env file + run: cp .env.example .env + + - name: Create database + run: touch database/database.sqlite + - name: Install Dependencies run: composer install --no-interaction --prefer-dist --optimize-autoloader - - name: Tests + - name: Run migrations + run: php artisan migrate --force + + - name: Run tests run: ./vendor/bin/pest --ci