mirror of
https://github.com/superhelio/commands.git
synced 2026-01-26 03:33:59 +00:00
Merge pull request #6 from superhelio/actions-phpunit
Github Actions: PHPUnit
This commit is contained in:
20
.github/workflows/phpunit.yml
vendored
Normal file
20
.github/workflows/phpunit.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: PHPUnit
|
||||
|
||||
on: [push]
|
||||
|
||||
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:
|
||||
php_extensions: xdebug mbstring
|
||||
bootstrap: vendor/autoload.php
|
||||
configuration: phpunit.xml
|
||||
args: --coverage-text
|
||||
Reference in New Issue
Block a user