Skip to content

Commit

Permalink
Exclude flaky tests from ios simulator workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
piotruela committed Aug 5, 2024
1 parent 7c2c165 commit 98beb21
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test-ios-simulator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ jobs:
service_cellular_test,\
service_wifi_test,\
service_location_test,\
external_link_test,\
permissions/notifications_test,\
permissions/permissions_location_test,\
permissions/permissions_many_test,\
webview_stackoverflow_test,\
webview_leancode_test,\
webview_hackernews_test"
Expand All @@ -105,7 +109,9 @@ jobs:
sleep 10 # See https://github.com/leancodepl/patrol/issues/1282
TESTS_EXIT_CODE=0
patrol test --exclude ${{ env.EXCLUDED_TESTS }} --verbose || TESTS_EXIT_CODE=$?
patrol test --exclude ${{ env.EXCLUDED_TESTS }} \
--dart-define-from-file=defines_1.json --dart-define-from-file=defines_2.json --dart-define-from-file=defines_3.env \
--verbose || TESTS_EXIT_CODE=$?
kill -SIGINT $recordingpid
kill -SIGINT $logpid
Expand Down Expand Up @@ -163,7 +169,7 @@ jobs:
name: Notify on Slack
uses: ./.github/workflows/send-slack-message.yaml
needs: run_tests
if: always()
if: success()
with:
TESTS_EXIT_CODE: ${{ needs.run_tests.outputs.TESTS_EXIT_CODE }}
FAILURE_STATUS: ${{ needs.run_tests.outputs.FAILURE_STATUS }}
Expand Down

0 comments on commit 98beb21

Please sign in to comment.