diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-10-14 10:56:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 10:56:00 -0400 |
commit | 74364889f0b14b2ae130d7a2ef86a4f6c5eb1170 (patch) | |
tree | 8c15d33f6c0482c60bbae615ea128a709e08e0ae | |
parent | 34418884f4b57c925d3627c194482750e858ff63 (diff) |
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
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33ce9b777..f61a7356d 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: | |