mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-01-26 11:44:11 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9980bc7e9a | ||
|
|
9935cb78cb | ||
|
|
9ade30325c | ||
|
|
effd3be10f | ||
| 412a03516b | |||
|
|
730fe0e2ac |
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
|
||||||
@@ -10,10 +10,10 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"php": "^7.2|^8.0"
|
"php": "^8.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"orchestra/testbench": "^5.0"
|
"orchestra/testbench": "^7.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4" : {
|
"psr-4" : {
|
||||||
|
|||||||
4552
composer.lock
generated
4552
composer.lock
generated
File diff suppressed because it is too large
Load Diff
23
phpunit.xml
23
phpunit.xml
@@ -1,21 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit backupGlobals="false"
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false"
|
||||||
backupStaticAttributes="false"
|
bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true"
|
||||||
bootstrap="vendor/autoload.php"
|
convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false"
|
||||||
colors="true"
|
stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||||
convertErrorsToExceptions="true"
|
<coverage processUncoveredFiles="true">
|
||||||
convertNoticesToExceptions="true"
|
<include>
|
||||||
convertWarningsToExceptions="true"
|
<directory suffix=".php">./src</directory>
|
||||||
processIsolation="false"
|
</include>
|
||||||
stopOnFailure="false">
|
</coverage>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Unit">
|
<testsuite name="Unit">
|
||||||
<directory suffix="Test.php">./tests/Unit</directory>
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<filter>
|
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
|
||||||
<directory suffix=".php">./src</directory>
|
|
||||||
</whitelist>
|
|
||||||
</filter>
|
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|||||||
Reference in New Issue
Block a user