File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1212 fail-fast : false # Ensures the matrix doesn't stop if one job fails
1313 matrix :
1414 include :
15- - php_version : ' 7.0 '
15+ - php_version : ' 7.3 '
1616 wp_version : 6.4
1717
1818 - php_version : ' 7.3'
7272 - name : Start wp-env
7373 run : wp-env start
7474 id : start-wp-env
75- - name : Verify PHP and WP versions running
76- run : |
77- CONTAINER_ID=$(docker ps | grep 'tests-wordpress' | awk '{ print $1 }')
78- echo "Container ID: $CONTAINER_ID"
79- docker exec $CONTAINER_ID php -v
80- wp-env run cli grep wp_version wp-includes/version.php
8175 - name : Run playwright tests
8276 if : ${{ steps.start-wp-env.outcome != 'failure' }}
8377 id : run-playwright-tests
8983 STACKABLE_SLUG : Stackable/plugin
9084 run : npm run test
9185 - uses : actions/upload-artifact@v4
92- if : ${{ steps.run-playwright-tests.outcome == 'failure' }}
86+ if : ${{ !cancelled() }}
9387 id : artifact-upload-step
9488 with :
9589 name : playwright-report-php_${{ matrix.php_version }}-wp_${{ env.WP_VERSION }}-${{ env.VERSION_SUFFIX }}
You can’t perform that action at this time.
0 commit comments