Skip to content

Commit bf4b75d

Browse files
committed
👷 Validate configurations
1 parent 3514580 commit bf4b75d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎scripts/coverage.sh‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/usr/bin/env bash
22

3+
set -e
34
set -o pipefail
45

5-
DIR="${1}"
6-
cd "${DIR}" || exit
7-
86
# Validate the configurations.
97
curl --data-binary @codecov.yaml https://codecov.io/validate
108

9+
DIR="${1}"
10+
cd "${DIR}" || exit
11+
1112
dart pub global activate coverage
1213
dart run coverage:test_with_coverage --port=9292
1314
format_coverage --lcov --in=coverage --out=coverage.lcov --report-on=lib

0 commit comments

Comments
 (0)