From e7c20cd5d8ffbe400e6638713c5312ca72142f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Gaspard?= Date: Thu, 16 Nov 2023 02:22:30 +0000 Subject: [PATCH] disable integration-tests for macos at the right place --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2600421275d..11831c1f731 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,8 @@ jobs: os: macos-latest-xlarge # FIXME: some of these tests don't work very well on MacOS at the moment. Should fix # them at earliest convenience :) - flags: "--exclude integration-tests --exclude node-runtime --exclude runtime-params-estimator --exclude near-network --exclude estimator-warehouse" + # Note that integration-tests are disabled at the step running them in the job below. + flags: "--exclude node-runtime --exclude runtime-params-estimator --exclude near-network --exclude estimator-warehouse" timeout-minutes: 90 steps: # Some of the tests allocate really sparse maps, so heuristic-based overcommit limits are not @@ -101,10 +102,13 @@ jobs: # Run integration tests - run: cargo nextest run --locked --package integration-tests --cargo-profile quick-release --profile ci ${{ matrix.flags }} + if: matrix.id != 'macos' env: RUST_BACKTRACE: short - run: cargo llvm-cov report --profile quick-release --codecov --output-path integration-tests.json + if: matrix.id != 'macos' - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d + if: matrix.id != 'macos' with: files: integration-tests.json fail_ci_if_error: true