Skip to content

Commit 15f3c7e

Browse files
authored
Merge pull request #8 from dev-five-git/test-cover
Add test cover
2 parents 4aa3fe6 + d8584e0 commit 15f3c7e

File tree

26 files changed

+3256
-841
lines changed

26 files changed

+3256
-841
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"crates/vespera/Cargo.toml":"Patch","crates/vespera_core/Cargo.toml":"Patch","crates/vespera_macro/Cargo.toml":"Patch"},"note":"Add test code and refactor","date":"2025-12-02T10:20:19.181780Z"}

.github/workflows/CI.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ jobs:
3737
run: cargo check
3838
- name: Test
3939
run: cargo tarpaulin
40+
- name: Upload to codecov.io
41+
uses: codecov/codecov-action@v5
42+
with:
43+
token: ${{ secrets.CODECOV_TOKEN }}
44+
fail_ci_if_error: true
45+
files: lcov.info
46+
if: github.ref == 'refs/heads/main'
4047

4148
# publish
4249
changepacks:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
target
2+
lcov.info

0 commit comments

Comments
 (0)