Merge pull request #53 from michaelachrisco/52-illuminate-database

chore(composer): Testing library should use newest version of database
This commit is contained in:
michaelachrisco 2023-10-27 13:15:29 -07:00 committed by GitHub
commit a75456016e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 15 deletions

View file

@ -1,15 +1,6 @@
version: 2.1 version: 2.1
jobs: jobs:
build_php_version_80:
docker:
- image: cimg/php:8.0.20
working_directory: ~/ReadOnlyTraitLaravel
steps: # a set of executable commands
- checkout
- run: sudo composer self-update
- run: composer install -n --prefer-dist --no-plugins
- run: ./vendor/bin/kahlan -reporter=verbose
build_php_version_81: build_php_version_81:
docker: docker:
- image: cimg/php:8.1.14 - image: cimg/php:8.1.14
@ -19,9 +10,9 @@ jobs:
- run: sudo composer self-update - run: sudo composer self-update
- run: composer install -n --prefer-dist --no-plugins - run: composer install -n --prefer-dist --no-plugins
- run: ./vendor/bin/kahlan -reporter=verbose - run: ./vendor/bin/kahlan -reporter=verbose
build_latest: build_php_version_82:
docker: docker:
- image: circleci/php:latest - image: cimg/php:8.2.12
working_directory: ~/ReadOnlyTraitLaravel working_directory: ~/ReadOnlyTraitLaravel
steps: # a set of executable commands steps: # a set of executable commands
- checkout - checkout
@ -32,6 +23,5 @@ workflows:
version: 2 version: 2
build: build:
jobs: jobs:
- build_php_version_80
- build_php_version_81 - build_php_version_81
- build_latest - build_php_version_82

View file

@ -17,7 +17,7 @@
"php": ">=7.0.0" "php": ">=7.0.0"
}, },
"require-dev": { "require-dev": {
"kahlan/kahlan": "^2.4", "kahlan/kahlan": "^5.2.5",
"illuminate/database": "=8.83.23" "illuminate/database": "=10.29.0"
} }
} }