Skip to content

Commit 0a4851e

Browse files
authored
Merge pull request #669 from swimos/codecov
Code coverage for CI
2 parents 54dda86 + 1816017 commit 0a4851e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ jobs:
135135

136136
- name: Generate code coverage
137137
run: |
138-
cargo +nightly tarpaulin --config .tarpaulin.toml
138+
cargo tarpaulin
139139
140140
- name: Upload to codecov.io
141-
uses: codecov/codecov-action@v2
141+
uses: codecov/codecov-action@v4
142142
with:
143143
token: ${{secrets.CODECOV_TOKEN}}
144144
fail_ci_if_error: true

.tarpaulin.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ exclude = [
3333
"swimos_agent_derive",
3434
"macro_utilities",
3535
]
36-
3736
workspace = true
3837
avoid-cfg-tarpaulin = true
3938
profile = "ci"
4039
ignore-tests = true
41-
output = ["xml"]
40+
out = ["Xml"]
4241
timeout = "600s"
4342
all-features = true

0 commit comments

Comments
 (0)