mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-01 16:51:18 +03:00
parent
ce2cdba297
commit
09d86cb0ef
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -2,8 +2,16 @@ name: CI
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.php"
|
||||
- "phpcs.xml"
|
||||
- ".github/workflows/phpcs.yml"
|
||||
push:
|
||||
branches: [production]
|
||||
paths:
|
||||
- "**.php"
|
||||
- "phpcs.xml"
|
||||
- ".github/workflows/phpcs.yml"
|
||||
|
||||
jobs:
|
||||
phpcs:
|
||||
|
@ -52,7 +60,7 @@ jobs:
|
|||
with:
|
||||
files: "**.php"
|
||||
phpcs_path: php phpcs.phar
|
||||
standard: phpcs.xml.dist
|
||||
standard: phpcs.xml
|
||||
|
||||
phpunit:
|
||||
name: PHP Unit Tests
|
||||
|
|
Loading…
Reference in a new issue