Skip to content

Commit

Permalink
Switch to GitHub workflows for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-clearbooks committed Jul 8, 2022
1 parent 4b3a69d commit ce80212
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests

on: [push, pull_request]

jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1']
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug

- name: Install dependencies
run: composer install -o --no-progress

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

This file was deleted.

0 comments on commit ce80212

Please sign in to comment.