Skip to content

Simplify connector

Simplify connector #4

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- 0.x
- 1.x
pull_request:
branches:
- main
- 0.x
- 1.x
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
php: [ 8.2 ]
stability: [ lowest, highest ]
name: Test package (PHP ${{ matrix.php }} - ${{ matrix.stability }})
steps:
- name: 📚 Checkout code
uses: actions/checkout@v3
- name: 🔥 Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: bcmath, curl, dom, fileinfo, intl, libxml, mbstring, pcntl, pdo, redis, soap, sqlite, zip
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 Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.stability }}
- name: 🧪 Run test suite
run: composer test