Skip to content

Adds a new ozu:deploy command #116

Adds a new ozu:deploy command

Adds a new ozu:deploy command #116

Workflow file for this run

name: run-tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.4, 8.5]
laravel: [11.*, 12.*, 13.*]
include:
- laravel: 11.*
testbench: 9.*
carbon: ^3.5
contracts: ^11.0
collision: ^8.0
- laravel: 12.*
testbench: 10.*
carbon: ^3.5
contracts: ^12.0
collision: ^8.0
- laravel: 13.*
testbench: 11.*
carbon: ^3.5
contracts: ^13.0
collision: ^8.0
exclude:
- laravel: 11.*
php: 8.5
- laravel: 13.*
php: 8.4
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none
- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" "illuminate/contracts:${{ matrix.contracts }}" "nunomaduro/collision:${{ matrix.collision }}" --no-interaction --no-update
composer update --prefer-dist --no-interaction
- name: List Installed Dependencies
run: composer show -D
- name: Run Security Audit
run: composer audit
- name: Execute tests
run: vendor/bin/pest --ci --no-coverage