mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-01-26 03:34:02 +00:00
Github Actions: PHPUnit
Added Github Actions runner for PHPUnit tests. It runs on every push and makes sure all contributions (be it from humans, or bots) pass our existing tests.
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