diff --git a/.github/workflows/test_behavior_integration_cloud_filter.yml b/.github/workflows/test_behavior_integration_cloud_filter.yml index 8c3295b5b510..9b2452d5a32f 100644 --- a/.github/workflows/test_behavior_integration_cloud_filter.yml +++ b/.github/workflows/test_behavior_integration_cloud_filter.yml @@ -19,14 +19,14 @@ name: Behavior Test Integration Cloud Filter on: push: - paths: - - "integrations/cloudfilter/**.rs" - - "integrations/cloudfilter/Cargo.toml" - - ".github/workflows/test_behavior_integration_cloud_filter.yml" + branches: + - main pull_request: + branches: + - main paths: - - "integrations/cloudfilter/**.rs" - - "integrations/cloudfilter/Cargo.toml" + - "integrations/cloud_filter/**.rs" + - "integrations/cloud_filter/Cargo.toml" - ".github/workflows/test_behavior_integration_cloud_filter.yml" jobs: diff --git a/integrations/cloud_filter/tests/behavior/utils.rs b/integrations/cloud_filter/tests/behavior/utils.rs index 7f617ec3850b..105cc4064d87 100644 --- a/integrations/cloud_filter/tests/behavior/utils.rs +++ b/integrations/cloud_filter/tests/behavior/utils.rs @@ -35,8 +35,7 @@ pub fn file_content(path: impl Display) -> anyhow::Result { 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) }