Skip to content

Modify tests workflows, some composer.json changes #1

Modify tests workflows, some composer.json changes

Modify tests workflows, some composer.json changes #1

Workflow file for this run

name: PHPUnit
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
steps:
- uses: actions/checkout@v3
- name: Validate composer.json
run: composer validate --strict
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit