Skip to content

Improve performance for large payloads #302

Improve performance for large payloads

Improve performance for large payloads #302

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
env:
NATS_CLIENT_LOG: 1
NATS_TEST_LOG: 1
strategy:
matrix:
php: ["8.1", "8.2", "8.3"]
verbose: ['0', '1']
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
NATS_CLIENT_VERBOSE: ${{ matrix.verbose }}
- uses: php-actions/composer@v6
- run: docker compose up -d
working-directory: docker
- run: vendor/bin/phpunit --testsuite Tests
- name: Archive code coverage results
if: matrix.php == '8.1'
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: ./coverage