diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 693291fd3..5e6ba7c86 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -64,4 +64,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: test - args: --all --all-features -- --nocapture + args: --all --all-features --no-fail-fast -- --nocapture diff --git a/actix-http/tests/test_openssl.rs b/actix-http/tests/test_openssl.rs index b25f05272..fb2782a7b 100644 --- a/actix-http/tests/test_openssl.rs +++ b/actix-http/tests/test_openssl.rs @@ -115,6 +115,7 @@ async fn test_h2_body() -> io::Result<()> { Ok(()) } +#[cfg(not(any(target_os = "macos", windows)))] #[actix_rt::test] async fn test_h2_content_length() { let srv = test_server(move || { diff --git a/actix-http/tests/test_rustls.rs b/actix-http/tests/test_rustls.rs index bc0c91cc3..7bbaa4e4f 100644 --- a/actix-http/tests/test_rustls.rs +++ b/actix-http/tests/test_rustls.rs @@ -121,6 +121,7 @@ async fn test_h2_body1() -> io::Result<()> { Ok(()) } +#[cfg(not(any(target_os = "macos", windows)))] #[actix_rt::test] async fn test_h2_content_length() { let srv = test_server(move || { diff --git a/actix-web-codegen/tests/test_macro.rs b/actix-web-codegen/tests/test_macro.rs index 4ac1a8023..24be7bc02 100644 --- a/actix-web-codegen/tests/test_macro.rs +++ b/actix-web-codegen/tests/test_macro.rs @@ -67,6 +67,7 @@ async fn get_param_test(_: Path) -> impl Responder { HttpResponse::Ok() } +#[cfg(not(windows))] #[actix_rt::test] async fn test_params() { let srv = test::start(|| { diff --git a/awc/tests/test_client.rs b/awc/tests/test_client.rs index 8fb04b005..a34dfeaf2 100644 --- a/awc/tests/test_client.rs +++ b/awc/tests/test_client.rs @@ -46,6 +46,7 @@ const STR: &str = "Hello World Hello World Hello World Hello World Hello World \ Hello World Hello World Hello World Hello World Hello World"; #[actix_rt::test] +#[cfg(not(windows))] async fn test_simple() { let srv = test::start(|| { App::new() diff --git a/tests/test_server.rs b/tests/test_server.rs index 1916b372c..ddc45820d 100644 --- a/tests/test_server.rs +++ b/tests/test_server.rs @@ -741,6 +741,7 @@ async fn test_brotli_encoding_large_openssl() { } #[cfg(all(feature = "rustls", feature = "openssl"))] +#[cfg(not(any(target_os = "macos", windows)))] #[actix_rt::test] async fn test_reading_deflate_encoding_large_random_rustls() { use rust_tls::internal::pemfile::{certs, pkcs8_private_keys};