Skip to content

27 application report #15

27 application report

27 application report #15

Workflow file for this run

name: Laravel CI - Local Runner
on:
push:
branches: [ development ]
pull_request:
jobs:
laravel-local-test:
runs-on: self-hosted
defaults:
run:
working-directory: /srv/http
if: success()
steps:
- name: 🧾 Checkout code
uses: actions/checkout@v4
with:
path: /srv/http
- name: 🧰 Install PHP dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: ⚙️ Copy .env.testing
run: cp .env.testing .env
- name: 🔐 Generate app key
run: php artisan key:generate
- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache
- name: 🗄️ Run database migrations
run: php artisan migrate::fresh
- name: ✅ Run Laravel tests
run: php artisan test
- name: Pull latest changes
run: cd /srv/http && git pull origin development .