-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Github actions * Update packages and add plugin assets * Remove classname from covers in tests * Respect codeCoverageIgnore for tests & coverage * Switch back to action from woocart repo * Update Makefile commands
- Loading branch information
1 parent
95c7b79
commit d6d1c27
Showing
15 changed files
with
2,578 additions
and
1,760 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 |
---|---|---|
@@ -1,18 +1,22 @@ | ||
on: push | ||
name: Tests | ||
name: PR Checks | ||
|
||
jobs: | ||
onMasterOrPR: | ||
name: On master or PR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
- name: Set up PHP environment | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '7.4' | ||
- name: Install Dependencies | ||
run: make ensure | ||
- name: Lint | ||
run: make fmt | ||
- name: Test | ||
- name: Tests | ||
run: make test | ||
- name: Cover | ||
run: make cover | ||
|
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 |
---|---|---|
|
@@ -12,3 +12,4 @@ reports | |
clover.xml | ||
src/vendor | ||
dist | ||
.phpunit.result.cache |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 +1,20 @@ | ||
{ | ||
"require": { | ||
"php": ">=7.2.0" | ||
}, | ||
"require-dev": { | ||
"dealerdirect/phpcodesniffer-composer-installer": "*", | ||
"phpunit/phpunit": "6.5.9", | ||
"10up/wp_mock": "0.3.0", | ||
"antecedent/patchwork": "*", | ||
"php-coveralls/php-coveralls": "^2.1", | ||
"squizlabs/php_codesniffer": "*", | ||
"wp-coding-standards/wpcs": "*", | ||
"rregeer/phpunit-coverage-check": "^0.1.6", | ||
"phpunit/phpcov": "*", | ||
"phpro/grumphp": "^0.14.2", | ||
"sensiolabs/security-checker": "^5.0", | ||
"maglnet/composer-require-checker": "^1.1", | ||
"wp-cli/wp-cli": "^2.0" | ||
}, | ||
"config": { | ||
"bin-dir": "bin/" | ||
} | ||
"require": { | ||
"php": ">=7.2.0" | ||
}, | ||
"require-dev": { | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", | ||
"phpunit/phpunit": "^9.5.0", | ||
"10up/wp_mock": "^0.4.2", | ||
"antecedent/patchwork": "^2.1.12", | ||
"php-coveralls/php-coveralls": "^2.4.3", | ||
"squizlabs/php_codesniffer": "^3.5.8", | ||
"wp-coding-standards/wpcs": "^2.3.0", | ||
"rregeer/phpunit-coverage-check": "^0.3.1", | ||
"phpunit/phpcov": "^8.2.0", | ||
"phpro/grumphp": "^1.3.0" | ||
}, | ||
"config": { | ||
"bin-dir": "bin/" | ||
} | ||
} |
Oops, something went wrong.