generated from yiisoft/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test coverage 100% + MSI 100% + improvements non-code files + other... (
#31)
- Loading branch information
Showing
23 changed files
with
398 additions
and
194 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 |
---|---|---|
|
@@ -12,3 +12,6 @@ trim_trailing_whitespace = true | |
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
indent_size = 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
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,15 +1,15 @@ | ||
on: | ||
- pull_request | ||
- push | ||
- pull_request | ||
- push | ||
|
||
name: backwards compatibility | ||
jobs: | ||
roave_bc_check: | ||
name: Roave BC Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: fetch tags | ||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
- name: Roave BC Check | ||
uses: docker://nyholm/roave-bc-check-ga | ||
roave_bc_check: | ||
name: Roave BC Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: fetch tags | ||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
- name: Roave BC Check | ||
uses: docker://nyholm/roave-bc-check-ga |
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ jobs: | |
matrix: | ||
os: | ||
- ubuntu-latest | ||
|
||
php: | ||
- "7.4" | ||
|
||
|
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 |
---|---|---|
|
@@ -17,6 +17,7 @@ jobs: | |
|
||
php: | ||
- "7.4" | ||
- "8.0" | ||
|
||
steps: | ||
- name: Checkout | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,3 @@ phpunit.phar | |
/phpunit.xml | ||
# phpunit cache | ||
.phpunit.result.cache | ||
|
||
# Phan | ||
analysis.txt | ||
|
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,11 +1,11 @@ | ||
watch: | ||
directories: | ||
- src | ||
- tests | ||
fileMask: '*.php' | ||
directories: | ||
- src | ||
- tests | ||
fileMask: '*.php' | ||
notifications: | ||
passingTests: false | ||
failingTests: false | ||
passingTests: false | ||
failingTests: false | ||
phpunit: | ||
binaryPath: vendor/bin/phpunit | ||
timeout: 180 | ||
binaryPath: vendor/bin/phpunit | ||
timeout: 180 |
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,36 +1,33 @@ | ||
checks: | ||
php: true | ||
php: true | ||
|
||
filter: | ||
paths: | ||
- "src/*" | ||
paths: | ||
- "src/*" | ||
|
||
build: | ||
nodes: | ||
analysis: | ||
environment: | ||
php: 7.4.12 | ||
|
||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
|
||
tests-and-coverage: | ||
environment: | ||
php: 7.4.12 | ||
|
||
dependencies: | ||
override: | ||
- composer self-update | ||
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi | ||
|
||
tests: | ||
override: | ||
- | ||
command: "./vendor/bin/phpunit --coverage-clover ./coverage.xml" | ||
on_node: 1 | ||
coverage: | ||
file: coverage.xml | ||
format: php-clover | ||
|
||
|
||
nodes: | ||
analysis: | ||
environment: | ||
php: 7.4.12 | ||
|
||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
|
||
tests-and-coverage: | ||
environment: | ||
php: 7.4.12 | ||
|
||
dependencies: | ||
override: | ||
- composer self-update | ||
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi | ||
|
||
tests: | ||
override: | ||
- command: "./vendor/bin/phpunit --coverage-clover ./coverage.xml" | ||
on_node: 1 | ||
coverage: | ||
file: coverage.xml | ||
format: php-clover |
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.