Skip to content

Commit

Permalink
Merge pull request #123 from andrewnicols/gha
Browse files Browse the repository at this point in the history
Migrate from Travis to GHA
  • Loading branch information
andrewnicols authored Aug 20, 2024
2 parents b0fb318 + 8153948 commit 0bd6ae5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 20 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI Tests
on: [push, pull_request]

jobs:
PHPUnit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0

steps:
- uses: actions/checkout@v2

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

- name: Install dependencies
run: composer install

- name: Run PHPUnit
run: vendor/bin/phpunit
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 0bd6ae5

Please sign in to comment.