Skip to content

Bump guzzlehttp/psr7 from 2.4.3 to 2.6.1 #231

Bump guzzlehttp/psr7 from 2.4.3 to 2.6.1

Bump guzzlehttp/psr7 from 2.4.3 to 2.6.1 #231

Workflow file for this run

name: tests
on:
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'resources/**'
- 'config/**'
- 'composer.json'
- 'composer.lock'
- 'phpunit.xml'
- '.github/workflows/tests.yml'
push:
branches:
- 'master'
- 'v*.x'
paths:
- 'src/**'
- 'tests/**'
- 'resources/**'
- 'config/**'
- 'composer.json'
- 'composer.lock'
- 'phpunit.xml'
- '.github/workflows/tests.yml'
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.2, 8.1, '8.0']
laravel: [10.*, 9.*]
dependency-version: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
exclude:
- laravel: 10.*
php: '8.0'
env:
KASIR_PRODUCTION: false
MIDTRANS_CLIENT_KEY_SANDBOX: ${{ secrets.MIDTRANS_CLIENT_KEY_SANDBOX }}
MIDTRANS_SERVER_KEY_SANDBOX: ${{ secrets.MIDTRANS_SERVER_KEY_SANDBOX }}
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }}
steps:
- uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, pdo, pdo_sqlite
coverage: none
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: ./vendor/bin/pest --verbose --ci