From a37d1f52f9f31dd542d7d3d8ec34318d2eb91c02 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Mon, 29 Jan 2024 14:28:31 -0500 Subject: [PATCH 1/5] test workflow with secondary module and branch --- .github/workflows/brand-plugin-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/brand-plugin-test.yml b/.github/workflows/brand-plugin-test.yml index f31d801..b3da71f 100644 --- a/.github/workflows/brand-plugin-test.yml +++ b/.github/workflows/brand-plugin-test.yml @@ -26,11 +26,13 @@ jobs: bluehost: name: Bluehost Build and Test needs: setup - uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main + uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@add/secondary-module-inputs with: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'bluehost/bluehost-wordpress-plugin' + secondary-module-repo: 'newfold-labs/wp-module-onboarding' + secondary-module-branch: 'enhance/ai-onboarding' secrets: inherit hostgator: From 7c084baf4307ea3c9d4c34ea2b4500d388dd3298 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Mon, 29 Jan 2024 14:37:45 -0500 Subject: [PATCH 2/5] use updated workflow in all steps --- .github/workflows/brand-plugin-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/brand-plugin-test.yml b/.github/workflows/brand-plugin-test.yml index b3da71f..b86c9f0 100644 --- a/.github/workflows/brand-plugin-test.yml +++ b/.github/workflows/brand-plugin-test.yml @@ -38,7 +38,7 @@ jobs: hostgator: name: HostGator Build and Test needs: setup - uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main + uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@add/secondary-module-inputs with: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} @@ -48,7 +48,7 @@ jobs: web: name: Web.com Build and Test needs: setup - uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main + uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@add/secondary-module-inputs with: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} @@ -58,7 +58,7 @@ jobs: crazydomains: name: Crazy Domains Build and Test needs: setup - uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main + uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@add/secondary-module-inputs with: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} @@ -68,7 +68,7 @@ jobs: mojo: name: Mojo Build and Test needs: setup - uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main + uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@add/secondary-module-inputs with: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} From aa8ff359e79409c6abfe6141c2f197165f2be3d1 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Mon, 29 Jan 2024 14:40:29 -0500 Subject: [PATCH 3/5] update each step with variety of inputs --- .github/workflows/brand-plugin-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/brand-plugin-test.yml b/.github/workflows/brand-plugin-test.yml index b86c9f0..0ca0fa2 100644 --- a/.github/workflows/brand-plugin-test.yml +++ b/.github/workflows/brand-plugin-test.yml @@ -43,6 +43,8 @@ jobs: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-hostgator' + secondary-module-repo: 'newfold-labs/wp-module-ecommerce' + secondary-module-branch: 'main' secrets: inherit web: @@ -53,6 +55,7 @@ jobs: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-web' + secondary-module-repo: 'newfold-labs/wp-module-data' secrets: inherit crazydomains: @@ -63,6 +66,7 @@ jobs: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-crazy-domains' + secondary-module-branch: 'expect-to-be-skipped' secrets: inherit mojo: @@ -73,4 +77,6 @@ jobs: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-mojo' + secondary-module-repo: 'newfold-labs/wp-module-data' + secondary-module-branch: 'expect-to-fail' secrets: inherit From 30827fb8c3a51fa128b28562366c19741a849806 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Mon, 29 Jan 2024 14:50:42 -0500 Subject: [PATCH 4/5] test branch checkouts --- .github/workflows/brand-plugin-test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/brand-plugin-test.yml b/.github/workflows/brand-plugin-test.yml index 0ca0fa2..749fb15 100644 --- a/.github/workflows/brand-plugin-test.yml +++ b/.github/workflows/brand-plugin-test.yml @@ -44,7 +44,7 @@ jobs: module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-hostgator' secondary-module-repo: 'newfold-labs/wp-module-ecommerce' - secondary-module-branch: 'main' + secondary-module-branch: 'tags/v1.3.19' secrets: inherit web: @@ -56,6 +56,7 @@ jobs: module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-web' secondary-module-repo: 'newfold-labs/wp-module-data' + secondary-module-branch: 'main' secrets: inherit crazydomains: @@ -66,7 +67,8 @@ jobs: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-crazy-domains' - secondary-module-branch: 'expect-to-be-skipped' + secondary-module-repo: 'newfold-labs/wp-module-data' + secondary-module-branch: 'tags/2.4.18' secrets: inherit mojo: @@ -78,5 +80,5 @@ jobs: module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-mojo' secondary-module-repo: 'newfold-labs/wp-module-data' - secondary-module-branch: 'expect-to-fail' + secondary-module-branch: 'expect-to-fail-no-branch-match-found' secrets: inherit From 0c9e00c65a0be50d45db6d622fe6b35c140bdf99 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Mon, 29 Jan 2024 15:03:39 -0500 Subject: [PATCH 5/5] just test onboarding where applicable --- .github/workflows/brand-plugin-test.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/brand-plugin-test.yml b/.github/workflows/brand-plugin-test.yml index 749fb15..ce1fa79 100644 --- a/.github/workflows/brand-plugin-test.yml +++ b/.github/workflows/brand-plugin-test.yml @@ -43,8 +43,8 @@ jobs: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-hostgator' - secondary-module-repo: 'newfold-labs/wp-module-ecommerce' - secondary-module-branch: 'tags/v1.3.19' + secondary-module-repo: 'newfold-labs/wp-module-onboarding' + secondary-module-branch: 'enhance/ai-onboarding' secrets: inherit web: @@ -55,8 +55,6 @@ jobs: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-web' - secondary-module-repo: 'newfold-labs/wp-module-data' - secondary-module-branch: 'main' secrets: inherit crazydomains: @@ -67,8 +65,8 @@ jobs: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-crazy-domains' - secondary-module-repo: 'newfold-labs/wp-module-data' - secondary-module-branch: 'tags/2.4.18' + secondary-module-repo: 'newfold-labs/wp-module-onboarding' + secondary-module-branch: 'enhance/ai-onboarding' secrets: inherit mojo: @@ -79,6 +77,4 @@ jobs: module-repo: ${{ github.repository }} module-branch: ${{ needs.setup.outputs.branch }} plugin-repo: 'newfold-labs/wp-plugin-mojo' - secondary-module-repo: 'newfold-labs/wp-module-data' - secondary-module-branch: 'expect-to-fail-no-branch-match-found' secrets: inherit