mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
parent
e87bfd60ed
commit
b47c4bc20d
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
@ -16,6 +16,17 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: true
|
||||||
|
matrix:
|
||||||
|
php: ['8.0', 8.1]
|
||||||
|
stability: ['']
|
||||||
|
include:
|
||||||
|
- php: 8.2
|
||||||
|
stability: --ignore-platform-req=php+
|
||||||
|
|
||||||
|
name: PHP ${{ matrix.php }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -23,12 +34,12 @@ jobs:
|
|||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: 8.1
|
php-version: ${{ matrix.php }}
|
||||||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
|
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- name: Install Composer dependencies
|
- name: Install Composer dependencies
|
||||||
run: composer install --prefer-dist --no-interaction
|
run: composer install ${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
|
||||||
|
|
||||||
- name: Copy environment file
|
- name: Copy environment file
|
||||||
run: cp .env.example .env
|
run: cp .env.example .env
|
||||||
|
Loading…
x
Reference in New Issue
Block a user