Skip to content

update to Pest and L11 #102

update to Pest and L11

update to Pest and L11 #102

Workflow file for this run

name: tests
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: ['8.3']
laravel: [11]
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, bcmath
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none
- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/pest
env:
PAYFAST_MERCHANT_ID: ${{ secrets.PAYFAST_MERCHANT_ID }}
PAYFAST_MERCHANT_KEY: ${{ secrets.PAYFAST_MERCHANT_KEY }}
PAYFAST_PASSPHRASE: ${{ secrets.PAYFAST_PASSPHRASE }}
PAYFAST_TEST_MODE: ${{ secrets.PAYFAST_TEST_MODE }}