Reset and simplify database schema #416
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Commit Pipeline | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Install Composer dependencies | |
run: composer install | |
- name: Create .env file | |
run: cp .env.example .env | |
- name: Create App Key | |
run: php artisan key:generate | |
- name: Run tests | |
run: | | |
vendor/bin/pint --test | |
vendor/bin/phpstan --memory-limit=1G analyse | |
php artisan test tests/Unit |