Skip to content

Commit

Permalink
Temporarily test the run-qit-extension action of the current PR bra…
Browse files Browse the repository at this point in the history
…nch with the test build of `run-qit-annotate`.
  • Loading branch information
eason9487 committed Apr 25, 2024
1 parent e0f4a90 commit f0b21e0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 17 deletions.
34 changes: 22 additions & 12 deletions .github/workflows/run-qit-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ on:
options:
description: 'Additional options for `qit` command, like `--optional_features=hpos`.'
required: false

# Temporarily testing the current PR branch
push:
branches:
- update/108-nodejs-v20-github-actions-run-qit-extension

jobs:
qit-tests:
Expand All @@ -66,20 +69,27 @@ jobs:
fail-fast: false
matrix:
# List of extensions to be tested.
extension: [automatewoo, automatewoo-birthdays, automatewoo-referrals, google-listings-and-ads, woocommerce-google-analytics-integration]
# extension: [automatewoo, automatewoo-birthdays, automatewoo-referrals, google-listings-and-ads, woocommerce-google-analytics-integration]
# Temporarily skipping private repos
extension: [google-listings-and-ads, woocommerce-google-analytics-integration]
steps:
- name: Run QIT
uses: woocommerce/grow/run-qit-extension@actions-v1
# uses: woocommerce/grow/run-qit-extension@actions-v1
# Temporarily using the action of the current PR branch
uses: woocommerce/grow/packages/github-actions/actions/run-qit-extension@update/108-nodejs-v20-github-actions-run-qit-extension
with:
qit-partner-user: ${{ secrets.QIT_PARTNER_USER }}
qit-partner-secret: ${{ secrets.QIT_PARTNER_SECRET }}
version: ${{ inputs.version }}
wait: ${{ inputs.wait }}
test-activation: ${{ inputs.test-activation }}
test-security: ${{ inputs.test-security }}
test-phpstan: ${{ inputs.test-phpstan }}
test-api: ${{ inputs.test-api }}
test-e2e: ${{ inputs.test-e2e }}
# version: ${{ inputs.version }}
# wait: ${{ inputs.wait }}
# test-activation: ${{ inputs.test-activation }}
# test-security: ${{ inputs.test-security }}
# test-phpstan: ${{ inputs.test-phpstan }}
# test-api: ${{ inputs.test-api }}
# test-e2e: ${{ inputs.test-e2e }}
extension: ${{ matrix.extension }}
ignore-fail: ${{ inputs.ignore-fail }}
options: ${{ inputs.options }}
# ignore-fail: ${{ inputs.ignore-fail }}
# options: ${{ inputs.options }}
# Temporarily commenting out inputs
version: dev
test-e2e: false
20 changes: 15 additions & 5 deletions packages/github-actions/actions/run-qit-extension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ runs:
- name: Activation test
id: activation
if: ${{ inputs.test-activation == 'true' }}
uses: woocommerce/grow/run-qit-annotate@actions-v2
# uses: woocommerce/grow/run-qit-annotate@actions-v2
# Temporarily using test build
uses: woocommerce/grow/run-qit-annotate@update/108-nodejs-v20-github-actions-get-plugin-releases-test-build
with:
type: activation
extension: ${{ inputs.extension }}
Expand All @@ -105,7 +107,9 @@ runs:
- name: Security test
id: security
if: ${{ inputs.test-security == 'true' }}
uses: woocommerce/grow/run-qit-annotate@actions-v2
# uses: woocommerce/grow/run-qit-annotate@actions-v2
# Temporarily using test build
uses: woocommerce/grow/run-qit-annotate@update/108-nodejs-v20-github-actions-get-plugin-releases-test-build
with:
type: security
extension: ${{ inputs.extension }}
Expand All @@ -117,7 +121,9 @@ runs:
- name: PHPStan test
id: phpstan
if: ${{ inputs.test-phpstan == 'true' }}
uses: woocommerce/grow/run-qit-annotate@actions-v2
# uses: woocommerce/grow/run-qit-annotate@actions-v2
# Temporarily using test build
uses: woocommerce/grow/run-qit-annotate@update/108-nodejs-v20-github-actions-get-plugin-releases-test-build
with:
type: phpstan
extension: ${{ inputs.extension }}
Expand All @@ -129,7 +135,9 @@ runs:
- name: API test
id: api
if: ${{ inputs.test-api == 'true' }}
uses: woocommerce/grow/run-qit-annotate@actions-v2
# uses: woocommerce/grow/run-qit-annotate@actions-v2
# Temporarily using test build
uses: woocommerce/grow/run-qit-annotate@update/108-nodejs-v20-github-actions-get-plugin-releases-test-build
with:
type: api
extension: ${{ inputs.extension }}
Expand All @@ -141,7 +149,9 @@ runs:
- name: E2E test
id: e2e
if: ${{ inputs.test-e2e == 'true' }}
uses: woocommerce/grow/run-qit-annotate@actions-v2
# uses: woocommerce/grow/run-qit-annotate@actions-v2
# Temporarily using test build
uses: woocommerce/grow/run-qit-annotate@update/108-nodejs-v20-github-actions-get-plugin-releases-test-build
with:
type: e2e
extension: ${{ inputs.extension }}
Expand Down

0 comments on commit f0b21e0

Please sign in to comment.