Skip to content

Update TrafficLight example in README (#29) #43

Update TrafficLight example in README (#29)

Update TrafficLight example in README (#29) #43

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
tests:
name: Tests on PHP ${{ matrix.php }} ${{ matrix.dependencies }}
runs-on: ubuntu-20.04
strategy:
matrix:
php: ['8.1']
dependencies: ['', '--prefer-lowest --prefer-stable']
steps:
- name: Checkout
uses: actions/[email protected]
- uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
run: composer update --no-interaction --prefer-dist ${{ matrix.dependencies }}
- name: Configure PHPUnit problem matchers
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Run tests
run: ./vendor/bin/phpunit