From 74364889f0b14b2ae130d7a2ef86a4f6c5eb1170 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 14 Oct 2021 10:56:00 -0400 Subject: [PATCH] ci: skip debug WPT during PRs (#12440) Running Debug WPT takes about 35 minutes. It will be still checked in the release build and on main branch, but too slow to run for PRs. See for example: https://github.com/denoland/deno/pull/12438/checks?check_run_id=3889127272 --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33ce9b7775..f61a7356da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -336,7 +336,7 @@ jobs: (matrix.job == 'test' || matrix.job == 'bench') && matrix.profile == 'debug' && !matrix.use_sysroot run: cargo build --locked --all-targets - + - name: Build fastci if: (matrix.job == 'test' && matrix.profile == 'fastci') run: cargo build --locked --all-targets @@ -455,7 +455,8 @@ jobs: - name: Run web platform tests (debug) if: | startsWith(matrix.os, 'ubuntu') && matrix.job == 'test' && - matrix.profile == 'debug' + matrix.profile == 'debug' && + github.ref == 'refs/heads/main' env: DENO_BIN: ./target/debug/deno run: |