Skip to content

Update build

Update build #62

Workflow file for this run

name: Tests
on: [ push, pull_request ]
jobs:
tests:
name: Tests PHP ${{ matrix.php }}

Check failure on line 7 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 7, Col: 5): Required property is missing: runs-on

Check failure on line 7 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 7, Col: 5): Required property is missing: runs-on
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php-versions: [ 7.4, 8.0, 8.1, 8.2, 8.3 ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run test suite
run: composer test:all