Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
name: PHPUnit
name: CI

on: [push, pull_request]
on: [pull_request]

jobs:
build:
name: Run tests on ${{ matrix.php }}
test:
name: Run tests
runs-on: ubuntu-latest

strategy:
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
php-version: '7.3'
tools: phpunit

- name: Composer Install
run: composer install
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run Tests
run: vendor/bin/phpunit
- name: Run tests
run: phpunit
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.