-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Fix invalid codecov config (#622)
- Loading branch information
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
set -o pipefail | ||
|
||
# Validate the configurations. | ||
curl --data-binary @codecov.yml https://codecov.io/validate | ||
|
||
DIR="${1}" | ||
cd ${DIR} | ||
cd "${DIR}" || exit | ||
|
||
dart pub global activate coverage | ||
dart run coverage:test_with_coverage --port=9292 | ||
format_coverage --lcov --in=coverage --out=coverage.lcov --report-on=lib | ||
|