#!/bin/bash
set -e

if [ "$COVERALLS_TOKEN" ]; then
  echo "Running coverage..."
  pub global activate dart_coveralls
  pub global run dart_coveralls report --token "$COVERALLS_TOKEN" --debug test/cassowary_test.dart
  echo "Coverage complete..."
else
  echo "COVERALLS_TOKEN is unset. Skipping Coverage..."
fi

#!/bin/bash
set -e

if [ "$COVERALLS_TOKEN" ]; then
  echo "Running coverage..."
  pub global activate dart_coveralls
  pub global run dart_coveralls report --token "$COVERALLS_TOKEN" --debug test/newton_test.dart
  echo "Coverage complete..."
else
  echo "COVERALLS_TOKEN is unset. Skipping Coverage..."
fi

Update coverage script to point to the right test
Update coverage script to point to the right test