-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
44 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,15 @@ | ||
on: push | ||
|
||
jobs: | ||
php73: | ||
run: | ||
name: Continuous Integration | ||
runs-on: ubuntu-latest | ||
container: 1maa/php-dev:7.3 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Run tests in PHP 7.3 | ||
run: | | ||
composer install | ||
composer test | ||
php74: | ||
runs-on: ubuntu-latest | ||
container: 1maa/php-dev:7.4 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Run tests in PHP 7.4 | ||
run: | | ||
composer install | ||
composer test | ||
php80: | ||
runs-on: ubuntu-latest | ||
container: 1maa/php-dev:8.0 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Run tests in PHP 8.0 | ||
run: | | ||
composer install | ||
composer test | ||
- uses: actions/checkout@v4 | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.2 | ||
- run: composer install | ||
- run: composer test | ||
- run: php vendor/bin/php-cs-fixer fix --dry-run -v | ||
- run: php vendor/bin/phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" | ||
backupGlobals="true" | ||
bootstrap="vendor/autoload.php" | ||
beStrictAboutOutputDuringTests="true" | ||
beStrictAboutTodoAnnotatedTests="true" | ||
bootstrap="vendor/autoload.php" | ||
cacheResult="false" | ||
colors="true" | ||
executionOrder="depends,defects" | ||
failOnRisky="true" | ||
failOnWarning="true" | ||
testdox="true" | ||
verbose="true" | ||
> | ||
<testsuites> | ||
<testsuite name="uma/uuid test suite"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory suffix=".php">src</directory> | ||
</include> | ||
<coverage> | ||
<report> | ||
<clover outputFile="build/coverage.xml"/> | ||
<html outputDirectory="build/coverage"/> | ||
<text outputFile="php://stdout" showOnlySummary="true"/> | ||
</report> | ||
</coverage> | ||
|
||
<source> | ||
<include> | ||
<directory>src</directory> | ||
</include> | ||
</source> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters