This workflow runs the Quality Insights Toolkit tests.
Usually, it should be used after the archive creation workflow.
name: Create release package and run QIT
on:
workflow_dispatch:
jobs:
create_archive:
uses: inpsyde/reusable-workflows/.github/workflows/build-plugin-archive.yml@main
qit:
strategy:
matrix:
test: ['activation', 'security']
uses: inpsyde/reusable-workflows/.github/workflows/woo-qit.yml@main
needs: create_archive
secrets:
WOO_PARTNER_USER: ${{ secrets.WOO_PARTNER_USER }}
WOO_PARTNER_SECRET: ${{ secrets.WOO_PARTNER_SECRET }}
with:
ARTIFACT_NAME: ${{ needs.create_archive.outputs.artifact }}
QIT_TEST: ${{ matrix.test }}| Name | Default | Description |
|---|---|---|
| Name | Default | Description |
| ---------------------- | ---------------- | -------------------------------------------------------------------------------------------------------- |
ARTIFACT_NAME |
The name of the generated artifact, usually the output of the archive creation workflow | |
PLUGIN_FOLDER_NAME |
'' |
The name of the plugin folder/slug (falls back to the repository name) |
QIT_TEST |
'activation' |
The name of the QIT test to run (activation, security, ...) |
QIT_OPTIONS |
'' |
The string with additional QIT options, such as '--wordpress_version=6.5.1 --optional_features=hpos' |
| Name | Description |
|---|---|
WOO_PARTNER_USER |
The Woo.com email |
WOO_PARTNER_SECRET |
The Woo.com QIT token |