Skip to content

Commit 914036d

Browse files
authored
Merge pull request #30 from dev-five-git/add-coverage
Add coverage
2 parents d3241a6 + b591169 commit 914036d

File tree

53 files changed

+5727
-2408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+5727
-2408
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"crates/vespera_macro/Cargo.toml":"Patch","crates/vespera/Cargo.toml":"Patch","crates/vespera_core/Cargo.toml":"Patch"},"note":"Refactor, Mkdir for openapi","date":"2025-12-11T13:44:43.388156300Z"}

.github/workflows/CI.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,21 @@ jobs:
3535
components: clippy, rustfmt
3636
- name: Build
3737
run: cargo check
38+
- name: Lint
39+
run: cargo clippy --all-targets --all-features -- -D warnings
3840
- name: Test
39-
run: cargo tarpaulin --out Lcov
41+
run: |
42+
# rust coverage issue
43+
echo 'max_width = 100000' > .rustfmt.toml
44+
echo 'tab_spaces = 4' >> .rustfmt.toml
45+
echo 'newline_style = "Unix"' >> .rustfmt.toml
46+
echo 'fn_call_width = 100000' >> .rustfmt.toml
47+
echo 'fn_params_layout = "Compressed"' >> .rustfmt.toml
48+
echo 'chain_width = 100000' >> .rustfmt.toml
49+
echo 'merge_derives = true' >> .rustfmt.toml
50+
echo 'use_small_heuristics = "Default"' >> .rustfmt.toml
51+
cargo fmt
52+
cargo tarpaulin --out Lcov Stdout
4053
- name: Upload to codecov.io
4154
uses: codecov/codecov-action@v5
4255
with:

0 commit comments

Comments
 (0)