File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
- # https://docs.codecov.io/docs/commit-status
2
1
codecov :
3
2
notify :
4
- require_ci_to_pass : yes
3
+ wait_for_ci : true
4
+ require_ci_to_pass : yes
5
5
6
6
coverage :
7
7
status :
@@ -10,7 +10,7 @@ coverage:
10
10
# basic
11
11
target : 0%
12
12
threshold : 0%
13
- base : 0%
13
+ base : auto
14
14
# advanced
15
15
branches : null
16
16
if_no_uploads : error
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
+ set -e
3
4
set -o pipefail
4
5
6
+ # Validate the configurations.
7
+ curl --data-binary @codecov.yml https://codecov.io/validate
8
+
5
9
DIR=" ${1} "
6
- cd ${DIR}
10
+ cd " ${DIR} " || exit
11
+
7
12
dart pub global activate coverage
8
13
dart run coverage:test_with_coverage --port=9292
9
14
format_coverage --lcov --in=coverage --out=coverage.lcov --report-on=lib
10
-
You canβt perform that action at this time.
0 commit comments