Skip to content

Commit

Permalink
Add github action for running tests (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody authored Sep 20, 2022
1 parent 1fc01d3 commit 9b2bb6e
Showing 1 changed file with 25 additions and 0 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:
paths:
- '**.php'
pull_request:
types:
- opened
paths:
- '**.php'

jobs:
build-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: php-actions/composer@v5

- name: PHPUnit Tests
uses: php-actions/phpunit@v2
with:
configuration: phpunit.xml

0 comments on commit 9b2bb6e

Please sign in to comment.