Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Laravel version to 11.x #30

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add PHP 8.3 test workflow
arifszn committed Mar 14, 2024
commit 3cad5bfb0bd59819a2cb993848f69c8e327bb1c2
43 changes: 43 additions & 0 deletions .github/workflows/PHP8.3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "PHP 8.3 Tests"

on: [push, pull_request]

jobs:
test:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.3]

name: PHP${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv
coverage: none

- name: Install dependencies
run: composer install

- name: Create Environment file and generate app key
run: |
cp .env.example .env
php artisan key:generate
- name: Create database and run migration
run: |
touch database/hydra.sqlite
php artisan migrate
php artisan db:seed
- name: Execute tests
run: vendor/bin/phpunit