1
0
Fork 0
mirror of https://github.com/shufflingpixels/php-io.git synced 2026-08-15 19:58:14 +02:00

Add GitHub Actions test workflow

This commit is contained in:
Henrik Hautakoski 2026-06-27 09:03:13 +02:00
parent 07ec405512
commit 66ce04cf5c

31
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,31 @@
name: Tests
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1', '8.2', '8.3', '8.4']
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run tests
run: composer test