Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
Fail build when browser tests fail, use headless ff
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Jan 27, 2020
1 parent efdc6fb commit af38010
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion dart_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
tags:
expensive:
timeout: 2x
timeout: 2x

override_platforms:
firefox:
settings:
arguments: -headless
2 changes: 1 addition & 1 deletion tool/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dartfmt --set-exit-if-changed -n . || EXIT_CODE=$?
dartanalyzer --fatal-infos --fatal-warnings . || EXIT_CODE=$?

pub run test --coverage test_coverage || EXIT_CODE=$?
pub run test -x expensive --platform chrome,firefox
pub run test -x expensive --platform chrome,firefox || EXIT_CODE=$?

dart tool/format_coverage.dart

Expand Down

0 comments on commit af38010

Please sign in to comment.