Skip to content

Commit

Permalink
Allow ignoring integration tests (#220)
Browse files Browse the repository at this point in the history
* Allow ignoring integration tests

* Update full-integration-tests.yaml
  • Loading branch information
vpodorozh authored Mar 19, 2024
1 parent 54f7204 commit c41d657
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/full-integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c41d657

Please sign in to comment.