Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumped min PHP version to 7.3 and PHPUnit 9.2
- Loading branch information
1 parent
73250f5
commit 6cc4181
Showing
15 changed files
with
81 additions
and
48 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,3 +1,3 @@ | ||
service_name: travis-ci | ||
coverage_clover: clover.xml # file generated by phpunit | ||
json_path: coverage.json # file generated by php-coveralls | ||
json_path: coverage.json # file generated by php-coveralls |
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,12 +1,10 @@ | ||
/tests export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/phpcs.xml.dist export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.travis.yml export-ignore | ||
/.coveralls.yml export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/phpcs.xml.dist export-ignore | ||
/LICENSE.md export-ignore | ||
/CHANGELOG.md export-ignore | ||
/README.md export-ignore | ||
tests export-ignore | ||
phpunit.xml.dist export-ignore | ||
phpcs.xml.dist export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.coveralls.yml export-ignore | ||
phpunit.xml.dist export-ignore | ||
phpcs.xml.dist export-ignore | ||
CHANGELOG.md export-ignore | ||
README.md export-ignore |
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,47 @@ | ||
# | ||
# OriginPHP Framework | ||
# Copyright 2021 Jamiel Sharief. | ||
# | ||
# Licensed under The MIT License | ||
# The above copyright notice and this permission notice shall be included in all copies or substantial | ||
# portions of the Software. | ||
# | ||
# @copyright Copyright (c) Jamiel Sharief | ||
# @link https://www.originphp.com | ||
# @license https://opensource.org/licenses/mit-license.php MIT License | ||
# | ||
name: CI | ||
on: | ||
push: | ||
jobs: | ||
tests: | ||
name: "PHP ${{ matrix.php-version }}" | ||
runs-on: "ubuntu-latest" | ||
strategy: | ||
matrix: | ||
php-version: | ||
- "7.3" | ||
- "7.4" | ||
- "8.0" | ||
steps: | ||
- name: Checkout source code | ||
uses: "actions/checkout@v2" | ||
- name: Install PHP | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
coverage: "xdebug" | ||
php-version: "${{ matrix.php-version }}" | ||
tools: composer:v2 | ||
- name: Install dependencies | ||
run: | | ||
composer require php-coveralls/php-coveralls:^2.4 --dev --no-update | ||
composer update --no-progress --prefer-dist | ||
- name: Run PHPUnit | ||
run: "php vendor/bin/phpunit --coverage-clover=clover.xml" | ||
- name: Coveralls | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: "php vendor/bin/php-coveralls --verbose" | ||
if: ${{ success() }} | ||
- name: Run PHPStan | ||
run: "vendor/bin/phpstan analyse src --error-format=github" |
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,4 +1,4 @@ | ||
vendor/ | ||
composer.lock | ||
phpunit.xml | ||
.phpunit.result.cache | ||
.phpunit.result.cache |
This file was deleted.
Oops, something went wrong.
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
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