Skip to content

Commit f57428d

Browse files
fix coverage workflow
1 parent d201d9e commit f57428d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
run: |
2929
# Install lcov if not already installed
3030
sudo apt-get install -y lcov
31+
cargo install cargo-llvm-cov -y
32+
rustup update
33+
rustup component add llvm-tools-preview
3134
3235
- name: Create coverage info
3336
run: |

crates/api-snowflake-rest/src/sql_state.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub enum SqlState {
2323
FeatureNotSupported,
2424
}
2525

26+
2627
impl Display for SqlState {
2728
#[allow(clippy::as_conversions)]
2829
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
@@ -38,4 +39,4 @@ impl Display for SqlState {
3839
};
3940
write!(f, "{sql_state:05}")
4041
}
41-
}
42+
}

0 commit comments

Comments
 (0)