Skip to content

fix(Container) bind container and resolver correctly in clone #180

fix(Container) bind container and resolver correctly in clone

fix(Container) bind container and resolver correctly in clone #180

Workflow file for this run

name: Tests
on: push
jobs:
phpunit:
name: PHPUnit on PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '5.6', '7.0' , '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{matrix.php}}
- name: Install dependencies
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest" # same as running composer update
- name: Migrate PHPUnit configuration
run: vendor/bin/phpunit --migrate-configuration || true
- name: Run PHPUnit tests
run: vendor/bin/phpunit --bootstrap=tests/bootstrap.php --no-coverage