Skip to content

Commit

Permalink
Added conditional for tests for dart packages
Browse files Browse the repository at this point in the history
Conditional for non-flutter packages.
  • Loading branch information
leoafarias authored Dec 26, 2019
1 parent a153534 commit 3dd2a42
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ run_test_if_needed() {
echo 'Skip test'
else
echo "Run test"
flutter pub get
flutter test
if "${INPUT_FLUTTER_PACKAGE}"; then
flutter pub get
flutter test
else
pub get
pub test
fi
fi
}

Expand Down

0 comments on commit 3dd2a42

Please sign in to comment.