-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* main: commit workflow contents add brand plugin test workflow more lint fixes some lint fixes `use function WP_Forge\Helpers\dataGet;` Fix #61 Require `wp-forge/helpers` fixing linting issues passing only the array keys instead of entire values Fixed the deprecated warning from wp-module-data module delete useless autogen comment Linting/spacing Add `server_path` to `get_core_data()` using `ABSPATH` Add WP_Mock for tests
- Loading branch information
Showing
10 changed files
with
2,905 additions
and
448 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,78 @@ | ||
name: Build and Test Updates in Plugins | ||
on: | ||
pull_request: | ||
types: [ opened, reopened, ready_for_review, synchronize ] | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
setup: | ||
name: Setup | ||
runs-on: ubuntu-latest | ||
outputs: | ||
branch: ${{ steps.extract_branch.outputs.branch }} | ||
steps: | ||
|
||
- name: Extract branch name | ||
shell: bash | ||
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT | ||
id: extract_branch | ||
|
||
bluehost: | ||
name: Bluehost Build and Test | ||
needs: setup | ||
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main | ||
with: | ||
module-repo: ${{ github.repository }} | ||
module-branch: ${{ needs.setup.outputs.branch }} | ||
plugin-repo: 'bluehost/bluehost-wordpress-plugin' | ||
secrets: inherit | ||
|
||
hostgator: | ||
name: HostGator Build and Test | ||
needs: setup | ||
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main | ||
with: | ||
module-repo: ${{ github.repository }} | ||
module-branch: ${{ needs.setup.outputs.branch }} | ||
plugin-repo: 'newfold-labs/wp-plugin-hostgator' | ||
node-version: 20 | ||
secrets: inherit | ||
|
||
web: | ||
name: Web.com Build and Test | ||
needs: setup | ||
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main | ||
with: | ||
module-repo: ${{ github.repository }} | ||
module-branch: ${{ needs.setup.outputs.branch }} | ||
plugin-repo: 'newfold-labs/wp-plugin-web' | ||
node-version: 20 | ||
secrets: inherit | ||
|
||
crazydomains: | ||
name: Crazy Domains Build and Test | ||
needs: setup | ||
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main | ||
with: | ||
module-repo: ${{ github.repository }} | ||
module-branch: ${{ needs.setup.outputs.branch }} | ||
plugin-repo: 'newfold-labs/wp-plugin-crazy-domains' | ||
node-version: 20 | ||
secrets: inherit | ||
|
||
mojo: | ||
name: Mojo Build and Test | ||
needs: setup | ||
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main | ||
with: | ||
module-repo: ${{ github.repository }} | ||
module-branch: ${{ needs.setup.outputs.branch }} | ||
plugin-repo: 'newfold-labs/wp-plugin-mojo' | ||
node-version: 20 | ||
secrets: inherit |
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.