Skip to content

Commit

Permalink
Try to capture crash on flutter iOS test
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Jul 5, 2024
1 parent 00ce1a2 commit 434c9a9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,20 @@ jobs:

- name: Run tests on iOS Simulator
run: |
flutter test integration_test/all_tests.dart \
ulimit -c
ulimit -c unlimited
ulimit -c
sudo flutter test integration_test/all_tests.dart \
--dart-define=BAAS_BAASAAS_API_KEY=$BAAS_BAASAAS_API_KEY \
--dart-define=BAAS_DIFFERENTIATOR=$BAAS_DIFFERENTIATOR \
--file-reporter=json:test-results.json \
--suppress-analytics
sudo chmod -R +rwx /cores/*
- uses: actions/upload-artifact@master # capture all crashes as build artifacts
with:
name: crashes
path: /cores

- name: Publish Test Report
uses: dorny/[email protected]
Expand Down

0 comments on commit 434c9a9

Please sign in to comment.