mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
Allow ignoring integration tests (#220)
* Allow ignoring integration tests * Update full-integration-tests.yaml
This commit is contained in:
committed by
GitHub
parent
54f7204e3f
commit
c41d657f25
@@ -231,6 +231,11 @@ jobs:
|
||||
echo "Debug: $NEW_TESTSUITE_ENTRY"
|
||||
awk -v new_testsuite="$NEW_TESTSUITE_ENTRY" '/<\/testsuites>/ { print new_testsuite; found=1 } {print} END { if (!found) print new_testsuite }' "$FILE" > tmpfile && mv tmpfile "$FILE"
|
||||
echo "\nMage-OS suite has been added to $FILE \n"
|
||||
|
||||
## TODO: I want to have a possibility to NOT ignore those test if I wish to - by adding additional input to github actions, for example
|
||||
sed -i '/<testsuites>/i\<groups>\<exclude>\<group>integrationIgnore<\/group><\/exclude><\/groups>' "$FILE"
|
||||
echo "\nIgnore group `integrationIgnore` has been added to $FILE \n"
|
||||
|
||||
cat $FILE;
|
||||
|
||||
- name: Run Integration Tests for Modules
|
||||
|
||||
Reference in New Issue
Block a user