Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:

# Unit tests back (phpunit)
Expand All @@ -19,6 +22,10 @@ jobs:
env:
LARAVEL: 12.*
TESTBENCH: 10.*
- php: 8.5
env:
LARAVEL: 12.*
TESTBENCH: 10.*
env: ${{ matrix.env }}
steps:
- uses: actions/checkout@v2
Expand All @@ -40,5 +47,7 @@ jobs:
run: |
composer require "laravel/framework:${LARAVEL}" "orchestra/testbench:${TESTBENCH}" --no-interaction --no-update --prefer-dist
composer update --prefer-stable --prefer-dist --no-interaction
- name: Run Security Audit
run: composer audit
- name: Execute tests (Unit and Feature tests) via Pest
run: ./vendor/bin/pest
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
"license": "MIT",
"type": "project",
"require": {
"php": "8.4.*",
"php": "^8.4",
"laravel/framework": "^11.0|^12.0"
},
"require-dev": {
"fakerphp/faker": "^1.19.0",
"mockery/mockery": "^1.5.0",
"pestphp/pest": "^3.0",
"pestphp/pest-plugin-laravel": "^3.0",
"phpunit/phpunit": "^11.0",
"pestphp/pest": "^3.0|^4.0",
"pestphp/pest-plugin-laravel": "^3.0|^4.0",
"phpunit/phpunit": "^11.0|^12.0",
"doctrine/dbal": "^3.5",
"orchestra/testbench": "9.*|10.*",
"pestphp/pest-plugin-drift": "^3.0"
"pestphp/pest-plugin-drift": "^3.0|^4.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading