Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Replace Travis CI with GitHub Actions #16

Replace Travis CI with GitHub Actions

Replace Travis CI with GitHub Actions #16

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.2', '8.3', '8.4']
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
run: composer install --no-interaction
- name: Run tests
run: vendor/bin/phpunit
- name: Run Psalm
run: vendor/bin/psalm