From c41d657f259e9cb550a3db9916b4ff95b0ddf8f2 Mon Sep 17 00:00:00 2001 From: Vladyslav Podorozhnyi Date: Tue, 19 Mar 2024 14:56:49 +0100 Subject: [PATCH] Allow ignoring integration tests (#220) * Allow ignoring integration tests * Update full-integration-tests.yaml --- .github/workflows/full-integration-tests.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/full-integration-tests.yaml b/.github/workflows/full-integration-tests.yaml index caf6703..26f27ce 100644 --- a/.github/workflows/full-integration-tests.yaml +++ b/.github/workflows/full-integration-tests.yaml @@ -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 '//i\\\integrationIgnore<\/group><\/exclude><\/groups>' "$FILE" + echo "\nIgnore group `integrationIgnore` has been added to $FILE \n" + cat $FILE; - name: Run Integration Tests for Modules