-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2ad12e
commit 3dc7983
Showing
12 changed files
with
132 additions
and
284 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Code Quality Checks | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
|
||
jobs: | ||
code-quality: | ||
uses: brightnucleus/.github/.github/workflows/reusable-code-quality.yml@main |
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,16 @@ | ||
name: Testing | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
schedule: | ||
- cron: '17 1 * * *' # Run every day on a seemingly random time. | ||
|
||
jobs: | ||
test: | ||
uses: brightnucleus/.github/.github/workflows/reusable-testing.yml@main | ||
with: | ||
minimum-php: '8.0' |
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 +1,2 @@ | ||
vendor/ | ||
vendor/ | ||
composer.lock |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="WordPress Coding Standards for BrightNucleus Dependencies"> | ||
<description>A custom set of PHPCS rules for BrightNucleus Dependencies.</description> | ||
|
||
<!-- What to scan --> | ||
<file>.</file> | ||
<exclude-pattern>/vendor/</exclude-pattern> | ||
<exclude-pattern>/tests/</exclude-pattern> | ||
|
||
<!-- How to scan --> | ||
<arg value="sp"/> <!-- Show sniff and progress --> | ||
<arg name="colors"/> | ||
<arg name="basepath" value="."/> | ||
<arg name="parallel" value="8"/> | ||
<arg name="extensions" value="php"/> | ||
|
||
<!-- Rules: WordPress Coding Standards --> | ||
<config name="minimum_supported_wp_version" value="8.0"/> | ||
|
||
<!-- For help in understanding these custom sniff properties: | ||
https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties --> | ||
<rule ref="WordPress"> | ||
<exclude name="WordPress.Files.FileName"/> | ||
</rule> | ||
</ruleset> |
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.