We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea8d400 commit 08127d1Copy full SHA for 08127d1
βcodecov.yaml renamed to βcodecov.yml
@@ -1,7 +1,7 @@
1
-# https://docs.codecov.io/docs/commit-status
2
codecov:
3
notify:
4
- require_ci_to_pass: yes
+ wait_for_ci: true
+ require_ci_to_pass: yes
5
6
coverage:
7
status:
@@ -10,7 +10,7 @@ coverage:
10
# basic
11
target: 0%
12
threshold: 0%
13
- base: 0%
+ base: auto
14
# advanced
15
branches: null
16
if_no_uploads: error
βscripts/coverage.sh
@@ -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
8
+
9
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
-
0 commit comments