forked from geekwright/RegDom
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request geekwright#7 from XOOPS/master
Sync
- Loading branch information
Showing
21 changed files
with
4,558 additions
and
9,785 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
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
phpunit-9-6: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php_version: ["7.4", "8.1", "8.2", "8.3"] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: php-actions/composer@v6 | ||
with: | ||
php_version: "7.4" | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php_version }} | ||
coverage: xdebug | ||
- name: Unit Tests with PHPUnit 9.6 | ||
run: vendor/bin/phpunit --stderr --version 9.6 | ||
|
||
phpunit-10-5: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php_version: ["8.1", "8.2", "8.3"] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: php-actions/composer@v6 | ||
with: | ||
php_version: "8.1" | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php_version }} | ||
coverage: xdebug | ||
- name: Unit Tests with PHPUnit 10.5 | ||
run: vendor/bin/phpunit --stderr --version 10.5 | ||
|
||
phpunit-11-2: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php_version: ["8.2", "8.3"] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: php-actions/composer@v6 | ||
with: | ||
php_version: "8.2" | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php_version }} | ||
coverage: xdebug | ||
- name: Unit Tests with PHPUnit 11.2 | ||
run: vendor/bin/phpunit --stderr --version 11.2 |
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 |
---|---|---|
|
@@ -3,5 +3,7 @@ | |
\#* | ||
*.bak | ||
.idea/ | ||
coverage.clover | ||
vendor/ | ||
composer.lock | ||
coverage.clover | ||
git-phpcs.phar |
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,6 +1,19 @@ | ||
# .scrutinizer.yml | ||
build: | ||
nodes: | ||
analysis: | ||
environment: | ||
php: | ||
version: 7.4 | ||
project_setup: | ||
override: true | ||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
- php-scrutinizer-run | ||
filter: | ||
excluded_paths: | ||
- '_archive/*' | ||
- 'tests/*' | ||
tools: | ||
external_code_coverage: | ||
timeout: 300 # Timeout in seconds. |
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
Oops, something went wrong.