Skip to content

Add TLS Support and Connection Timeout Handling to ConnectionPool #768

Add TLS Support and Connection Timeout Handling to ConnectionPool

Add TLS Support and Connection Timeout Handling to ConnectionPool #768

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
name: "Running Unit Tests"
strategy:
matrix:
php: ["8.1.31", "8.2.27", "8.3.17"]
steps:
- uses: actions/checkout@v4
# Setup the correct PHP version globally
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Cache PHP deps
id: cache-php-deps
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-php-${{ matrix.php }}-
- name: Install PHP deps
if: steps.cache-php-deps.outputs.cache-hit != 'true'
run: composer install
- uses: php-actions/phpunit@v4
with:
configuration: phpunit.xml.dist
php_version: ${{ matrix.php }}
memory_limit: 1024M
version: 10
testsuite: Unit
bootstrap: vendor/autoload.php