diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 73da3e75f880..a978c7f23c51 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -42,7 +42,10 @@ jobs: check: name: Check if: github.event.pull_request.draft == false - runs-on: ubuntu-20.04 + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ windows-latest-8-cores, ubuntu-20.04 ] timeout-minutes: 60 steps: - uses: actions/checkout@v3 diff --git a/src/servers/src/error.rs b/src/servers/src/error.rs index 35e8dc301679..be6b202859d3 100644 --- a/src/servers/src/error.rs +++ b/src/servers/src/error.rs @@ -339,6 +339,7 @@ pub enum Error { source: crate::http::pprof::nix::Error, }, + #[cfg(not(windows))] #[snafu(display("Failed to update jemalloc metrics"))] UpdateJemallocMetrics { #[snafu(source)] @@ -412,8 +413,10 @@ impl ErrorExt for Error { | TcpIncoming { .. } | CatalogError { .. } | GrpcReflectionService { .. } - | BuildHttpResponse { .. } - | UpdateJemallocMetrics { .. } => StatusCode::Internal, + | BuildHttpResponse { .. } => StatusCode::Internal, + + #[cfg(not(windows))] + UpdateJemallocMetrics { .. } => StatusCode::Internal, CollectRecordbatch { .. } => StatusCode::EngineExecuteQuery,