mirror of https://github.com/fafhrd91/actix-web
Ignore some tests on macOS and Windows
This commit is contained in:
parent
f5fd6bc49f
commit
dbe5cdad7f
|
@ -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
|
||||
|
|
|
@ -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 || {
|
||||
|
|
|
@ -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 || {
|
||||
|
|
|
@ -67,6 +67,7 @@ async fn get_param_test(_: Path<String>) -> impl Responder {
|
|||
HttpResponse::Ok()
|
||||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
#[actix_rt::test]
|
||||
async fn test_params() {
|
||||
let srv = test::start(|| {
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue