rfc6455/.github/workflows/ci.yml
2021-12-09 19:21:46 -06:00

32 lines
662 B
YAML

name: CI
on:
push:
pull_request:
jobs:
PHPUnit:
name: PHPUnit (PHP ${{ matrix.php }})(${{ matrix.env }})
runs-on: ubuntu-20.04
strategy:
matrix:
env:
- client
- server
php:
- 7.4
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
- run: docker pull crossbario/autobahn-testsuite
- run: composer install
- run: sh tests/ab/run_ab_tests.sh
env:
ABTEST: ${{ matrix.env }}
- run: vendor/bin/phpunit --verbose