mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:34:04 +00:00
PHP 8 support, test workflow syntax
This commit is contained in:
parent
126afcd0dd
commit
1f02310da9
5 changed files with 38 additions and 28 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -15,16 +15,23 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
php:
|
||||
"7.4":
|
||||
- target=php:7.4-cli
|
||||
- version=7.4
|
||||
"8.0":
|
||||
- target=php:8.0.0RC5-cli
|
||||
- version=8.0
|
||||
laravel: [
|
||||
"^6.0",
|
||||
"^7.0",
|
||||
"^8.0"
|
||||
]
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Start docker containers
|
||||
run: docker-compose up -d
|
||||
run: PHP_TARGET=${{ matrix.php.target}} PHP_VESRSION=${{ matrix.php.version }} docker-compose up -d
|
||||
- name: Install dependencies
|
||||
run: docker-compose exec -T test composer require --no-interaction "laravel/framework:${{ matrix.laravel }}"
|
||||
- name: Run tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue