Skip to content

Commit

Permalink
Update CI test
Browse files Browse the repository at this point in the history
Signed-off-by: Manjusaka <[email protected]>
  • Loading branch information
Zheaoli committed Dec 15, 2024
1 parent c0526cb commit 8b7422b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_behavior_integration_cloud_filter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ name: Behavior Test Integration Cloud Filter

on:
push:
paths:
- "integrations/cloud_filter/**.rs"
- "integrations/cloud_filter/Cargo.toml"
- ".github/workflows/test_behavior_integration_cloud_filter.yml"
branches:
- main
pull_request:
branches:
- main
paths:
- "integrations/cloud_filter/**.rs"
- "integrations/cloud_filter/Cargo.toml"
Expand Down
3 changes: 1 addition & 2 deletions integrations/cloud_filter/tests/behavior/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ pub fn file_content(path: impl Display) -> anyhow::Result<String> {
let content = powershell_script::run(&format!("Get-Content \"{path}\""))
.context("run powershell")?
.stdout()
.unwrap_or_default()
.replace("\r\n", "\n"); // powershell returns CRLF, but the fixtures use LF
.unwrap_or_default();
Ok(content)
}

Expand Down

0 comments on commit 8b7422b

Please sign in to comment.