Skip to content
Open
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
24 changes: 23 additions & 1 deletion .github/workflows/run-tests-with-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,31 @@ on:
jobs:
tests-with-coverage:
runs-on: ubuntu-latest
env:
DB_CONNECTION: pgsql
DB_HOST: 127.0.0.1
DB_PORT: 5432
DB_DATABASE: forge
DB_USERNAME: forge
DB_PASSWORD: secret

services:
postgres:
image: postgres
env:
POSTGRES_DB: forge
POSTGRES_USER: forge
POSTGRES_PASSWORD: secret
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
strategy:
matrix:
php-version: [ "8.2", "8.3", "8.4" ]
php-version: ["8.3", "8.4" ]
steps:
- name: Set up PHP
uses: shivammathur/setup-php@v2
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
}
],
"require": {
"php": "^8.2",
"php": "^8.3",
"alymosul/exponent-server-sdk-php": "1.3.*",
"laravel/framework": ">=11.34"
},
"require-dev": {
"mockery/mockery": "^1.6.12",
"phpunit/phpunit": "^11.5.5",
"orchestra/testbench": "^10.4",
"ronasit/laravel-helpers": "^2.7.1"
"ronasit/laravel-helpers": "^3.5.8"
},
"autoload": {
"psr-4": {
Expand Down
Loading