Skip to content

customer return type fix #76

customer return type fix

customer return type fix #76

Workflow file for this run

name: tests
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1]
laravel: [9.*, 10.*]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 9.*
name: P${{ matrix.php }} - L${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Cache dependencies
uses: actions/cache@v1
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: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
env:
PAYSTACK_SECRET: ${{ secrets.PAYSTACK_SECRET }}
PAYSTACK_PLAN: ${{ secrets.PAYSTACK_PLAN }}
PAYSTACK_OTHER_PLAN: ${{ secrets.PAYSTACK_OTHER_PLAN }}
PAYSTACK_TRANSACTION_ID: ${{ secrets.PAYSTACK_TRANSACTION_ID }}
PAYSTACK_TRANSACTION_ID_INVALID: ${{ secrets.PAYSTACK_TRANSACTION_ID_INVALID }}
PAYSTACK_CUSTOMER: ${{ secrets.PAYSTACK_CUSTOMER }}
PAYSTACK_OTHER_CUSTOMER: ${{ secrets.PAYSTACK_OTHER_CUSTOMER }}
PAYSTACK_TRANSACTION_REF: ${{ secrets.PAYSTACK_TRANSACTION_REF }}
PAYSTACK_TRANSACTION_REF_INVALID: ${{ secrets.PAYSTACK_TRANSACTION_REF_INVALID }}