File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# Extract skipped tests from PHPUnit JUnit XML output
4- # Usage: extract-skipped-tests.sh <php> <db-type> <db-version> <multisite> <memcached> <test-groups>
4+ # Usage: extract-skipped-tests.sh <php> <db-type> <db-version> <multisite> <memcached> <test-groups> <os> <db-innovation> <tests-domain>
55
66# Create config ID from parameters
7- CONFIG_ID=" php${1} _${2}${3} _${4} _${5} _${6} "
7+ CONFIG_ID=" php${1} _${2}${3} _${4} _${5} _${6} _ ${7} _ ${8} _ ${9} "
88CONFIG_ID=" ${CONFIG_ID// [^a-zA-Z0-9_-]/ _} "
99
1010echo " Extracting skipped tests for configuration: ${CONFIG_ID} "
Original file line number Diff line number Diff line change @@ -250,14 +250,20 @@ jobs:
250250 MULTISITE : ${{ inputs.multisite && 'multisite' || 'single' }}
251251 MEMCACHED : ${{ inputs.memcached && 'memcached' || 'no-memcached' }}
252252 TEST_GROUPS : ${{ inputs.phpunit-test-groups && inputs.phpunit-test-groups || 'all-groups' }}
253+ OS : ${{ inputs.os }}
254+ DB_INNOVATION : ${{ inputs.db-innovation && 'innovation' || 'stable' }}
255+ TESTS_DOMAIN : ${{ inputs.tests-domain }}
253256 run : |
254257 CONFIG_OUTPUT=$(./.github/scripts/extract-skipped-tests.sh \
255258 "${PHP_VERSION}" \
256259 "${DB_TYPE}" \
257260 "${DB_VERSION}" \
258261 "${MULTISITE}" \
259262 "${MEMCACHED}" \
260- "${TEST_GROUPS}")
263+ "${TEST_GROUPS}" \
264+ "${OS}" \
265+ "${DB_INNOVATION}" \
266+ "${TESTS_DOMAIN}")
261267
262268 # Extract CONFIG_ID from the script output
263269 CONFIG_ID=$(echo "$CONFIG_OUTPUT" | grep "CONFIG_ID=" | cut -d= -f2)
You can’t perform that action at this time.
0 commit comments