Skip to content

Commit 9ade303

Browse files
authored
Merge pull request #33 from nullthoughts/github-actions-phpunit
Github Actions: PHPUnit
2 parents f830c5b + effd3be commit 9ade303

File tree

2 files changed

+1270
-629
lines changed

2 files changed

+1270
-629
lines changed

.github/workflows/phpunit.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: PHPUnit
2+
3+
on: [push]
4+
5+
jobs:
6+
build-test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- uses: php-actions/composer@v5
13+
14+
- name: PHPUnit Tests
15+
uses: php-actions/phpunit@v2
16+
with:
17+
php_extensions: xdebug mbstring
18+
bootstrap: vendor/autoload.php
19+
configuration: phpunit.xml
20+
args: --coverage-text

0 commit comments

Comments
 (0)