File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,19 @@ jobs:
31
31
- name : Run cargo fmt
32
32
run : cargo fmt --check
33
33
- name : Run tests
34
- run : cargo llvm-cov --all-features --workspace --codecov --output-path lcov.info nextest
34
+ run : cargo llvm-cov --all-features --workspace --codecov --output-path codecov.json nextest
35
35
- name : Show coverage report
36
36
run : cargo llvm-cov report
37
37
- name : Check link
38
38
uses : actions-rs/clippy-check@v1
39
39
with :
40
40
token : ${{ secrets.GITHUB_TOKEN }}
41
41
args : --all-targets --all-features -- -D warnings
42
+ - name : Upload coverage to Codecov
43
+ uses : codecov/codecov-action@v3
44
+ with :
45
+ token : ${{ secrets.CODECOV_TOKEN }} # not required for public repos
46
+ files : codecov.json
47
+ fail_ci_if_error : true
42
48
- name : Run cargo check
43
49
run : cargo check
You can’t perform that action at this time.
0 commit comments