Skip to content

Commit

Permalink
Add input variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kenariosz committed Feb 12, 2025
1 parent a622d85 commit ed689d4
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/call-universal_test_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ jobs:
id: install_module_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: ${{needs.init.outputs.global_title}}
Expand Down Expand Up @@ -763,6 +764,7 @@ jobs:
id: phpunit_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -871,6 +873,7 @@ jobs:
id: codeception_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1010,6 +1013,7 @@ jobs:
id: runtest_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1162,6 +1166,7 @@ jobs:
id: phpmd_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1283,6 +1288,7 @@ jobs:
id: phpstan_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1471,6 +1477,7 @@ jobs:
if: ${{ env.SONAR_TOKEN != '' }}
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1556,6 +1563,7 @@ jobs:
id: styles_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/call-universal_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ jobs:
id: install_module_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: ${{needs.init.outputs.global_title}}
Expand Down Expand Up @@ -763,6 +764,7 @@ jobs:
id: phpunit_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -871,6 +873,7 @@ jobs:
id: codeception_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1010,6 +1013,7 @@ jobs:
id: runtest_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1162,6 +1166,7 @@ jobs:
id: phpmd_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1283,6 +1288,7 @@ jobs:
id: phpstan_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1471,6 +1477,7 @@ jobs:
if: ${{ env.SONAR_TOKEN != '' }}
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1556,6 +1563,7 @@ jobs:
id: styles_testplan_name
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/universal_workflow_light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ jobs:
id: itn
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -736,6 +737,7 @@ jobs:
id: rstn
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -940,6 +942,7 @@ jobs:
id: rstn
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1144,6 +1147,7 @@ jobs:
if: ${{ env.SONAR_TOKEN != '' }}
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/universal_workflow_light.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ jobs:
id: itn
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -736,6 +737,7 @@ jobs:
id: rstn
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -940,6 +942,7 @@ jobs:
id: rstn
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down Expand Up @@ -1144,6 +1147,7 @@ jobs:
if: ${{ env.SONAR_TOKEN != '' }}
uses: OXID-eSales/github-actions/load_cached_testplan@v4
with:
runs_on: ${{ inputs.runs_on }}
php: ${{ matrix.php }}
mysql: ${{ matrix.mysql }}
prefix: '${{ needs.init.outputs.global_title }}'
Expand Down
4 changes: 4 additions & 0 deletions load_cached_testplan/action.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: 'load_cached_testplan'
description: 'Fetches the testplan and sets environment variables for it'
inputs:
runs_on:
type: string
description: 'JSON string/array describing the runner'
required: true
php:
type: string
required: false
Expand Down
4 changes: 4 additions & 0 deletions start_shop/action.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: 'start_shop'
description: 'Fetches a shop from cache and starts it'
inputs:
runs_on:
type: string
description: 'JSON string/array describing the runner'
required: true
cached_shop:
type: string
required: true
Expand Down

0 comments on commit ed689d4

Please sign in to comment.