Skip to content

Commit e2efbba

Browse files
authored
Merge pull request #2 from dev-five-git/add-coverage
Add coverage
2 parents 3a14c20 + 22db7b9 commit e2efbba

37 files changed

Lines changed: 2824 additions & 241 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"crates/vespertide-macro/Cargo.toml":"Patch","crates/vespertide-cli/Cargo.toml":"Patch","crates/vespertide-config/Cargo.toml":"Patch","crates/vespertide/Cargo.toml":"Patch","crates/vespertide-core/Cargo.toml":"Patch","crates/vespertide-planner/Cargo.toml":"Patch","crates/vespertide-query/Cargo.toml":"Patch"},"note":"Add testcase","date":"2025-12-10T15:18:28.271409100Z"}

.github/workflows/CI.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,18 @@ jobs:
3636
- name: Build
3737
run: cargo check
3838
- name: Test
39-
run: cargo tarpaulin --out Lcov
39+
run: |
40+
# rust coverage issue
41+
echo 'max_width = 100000' > .rustfmt.toml
42+
echo 'tab_spaces = 4' >> .rustfmt.toml
43+
echo 'newline_style = "Unix"' >> .rustfmt.toml
44+
echo 'fn_call_width = 100000' >> .rustfmt.toml
45+
echo 'fn_params_layout = "Compressed"' >> .rustfmt.toml
46+
echo 'chain_width = 100000' >> .rustfmt.toml
47+
echo 'merge_derives = true' >> .rustfmt.toml
48+
echo 'use_small_heuristics = "Default"' >> .rustfmt.toml
49+
cargo fmt
50+
cargo tarpaulin --out Lcov
4051
- name: Upload to codecov.io
4152
uses: codecov/codecov-action@v5
4253
with:

0 commit comments

Comments
 (0)