mirror of
https://gitee.com/yansongda/pay.git
synced 2024-11-29 18:58:38 +08:00
update
This commit is contained in:
parent
59eae53fec
commit
dec32f3bb3
10
.github/workflows/Linter.yml
vendored
10
.github/workflows/Linter.yml
vendored
@ -3,8 +3,16 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
php_cs_fixer:
|
||||
name: php_cs_fixer
|
||||
name: php_cs_fixer-php-${{ matrix.php }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php:
|
||||
- 7.3
|
||||
- 7.4
|
||||
container:
|
||||
image: yansongda/php-fpm:${{ matrix.php }}
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@master
|
||||
|
@ -27,7 +27,7 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^8.0 || ^9.0",
|
||||
"mockery/mockery": "^1.2",
|
||||
"mockery/mockery": "^1.4",
|
||||
"friendsofphp/php-cs-fixer": "^2.15",
|
||||
"symfony/var-dumper": "^5.1"
|
||||
},
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
backupGlobals="false"
|
||||
<phpunit backupGlobals="false"
|
||||
backupStaticAttributes="false"
|
||||
bootstrap="vendor/autoload.php"
|
||||
colors="true"
|
||||
@ -9,16 +8,10 @@
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false"
|
||||
cacheResult="false"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||
<coverage>
|
||||
<include>
|
||||
<directory suffix=".php">src/</directory>
|
||||
</include>
|
||||
</coverage>
|
||||
cacheResult="false">
|
||||
<testsuites>
|
||||
<testsuite name="Application Test Suite">
|
||||
<directory>./tests/</directory>
|
||||
<testsuite name="tests">
|
||||
<directory suffix="Test.php">./tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
Loading…
Reference in New Issue
Block a user