Skip to content

Commit bd89c47

Browse files
committed
ci: run rust coverage only on manual dispatch
1 parent faf4a42 commit bd89c47

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,17 @@ jobs:
121121
continue-on-error: true # Don't fail CI, but report issues
122122

123123
- name: Install Coverage Tool
124+
if: github.event_name == 'workflow_dispatch'
124125
run: cargo install cargo-llvm-cov --locked --quiet
125126

126127
- name: Generate Rust Coverage Report
128+
if: github.event_name == 'workflow_dispatch'
127129
run: |
128130
cd src-tauri
129131
cargo llvm-cov --workspace --all-features --lcov --output-path lcov.info
130132
131133
- name: Upload Rust Coverage Artifact
134+
if: github.event_name == 'workflow_dispatch'
132135
uses: actions/upload-artifact@v7
133136
with:
134137
name: rust-lcov

0 commit comments

Comments
 (0)