Skip to content

Commit

Permalink
fix: add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
HamdaanAliQuatil committed Oct 19, 2024
1 parent c0b0170 commit f179985
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,18 @@ jobs:
- name: Run integration_test with chromedriver
working-directory: ./example
run: |
chromedriver --port=4444 --trace-buffer-size=100000 &
../tool/with-chromedriver.sh flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/webcrypto_test.dart \
-d chrome --verbose \
--no-keep-app-running
ps aux | grep flutter
ps aux | grep chromedriver
-d chrome --dart-define=CI=true | tee output.log
output=$(<output.log)
if [[ "$output" =~ \[E\] ]]; then
echo "Some tests did not pass. Please check the logs for more information."
exit 1
fi
killall chromedriver || true
killall chrome || true
- run: flutter pub run test -p vm,chrome,firefox
windows:
name: webcrypto on Windows desktop / Chrome / Firefox
Expand Down

0 comments on commit f179985

Please sign in to comment.