Skip to content

Commit e053167

Browse files
committed
skip playwright tests on CI
1 parent 5e1e26b commit e053167

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ env:
3131
${{ github.workspace }}/node_modules
3232
${{ github.workspace }}/packages/*/node_modules
3333
${{ github.workspace }}/dev-packages/*/node_modules
34-
~/.cache/ms-playwright/
3534
~/.cache/mongodb-binaries/
3635
3736
# DEPENDENCY_CACHE_KEY: can't be set here because we don't have access to yarn.lock
@@ -580,7 +579,7 @@ jobs:
580579
job_nextjs_integration_test:
581580
name: Nextjs (Node ${{ matrix.node }}) Tests
582581
needs: [job_get_metadata, job_build]
583-
if: needs.job_get_metadata.outputs.changed_nextjs == 'true' || github.event_name != 'pull_request'
582+
if: false
584583
timeout-minutes: 25
585584
runs-on: ubuntu-24.04
586585
strategy:
@@ -627,7 +626,7 @@ jobs:
627626
job_browser_playwright_tests:
628627
name: Playwright (${{ matrix.bundle }}${{ matrix.shard && format(' {0}/{1}', matrix.shard, matrix.shards) || ''}}) Tests
629628
needs: [job_get_metadata, job_build]
630-
if: needs.job_get_metadata.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
629+
if: false
631630
runs-on: ubuntu-24.04-large-js
632631
timeout-minutes: 25
633632
strategy:
@@ -717,7 +716,7 @@ jobs:
717716
job_browser_loader_tests:
718717
name: Playwright Loader (${{ matrix.bundle }}) Tests
719718
needs: [job_get_metadata, job_build]
720-
if: needs.job_get_metadata.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
719+
if: false
721720
runs-on: ubuntu-24.04
722721
timeout-minutes: 15
723722
strategy:
@@ -771,7 +770,7 @@ jobs:
771770
job_browser_integration_tests:
772771
name: Browser (${{ matrix.browser }}) Tests
773772
needs: [job_get_metadata, job_build]
774-
if: needs.job_get_metadata.outputs.changed_browser == 'true' || github.event_name != 'pull_request'
773+
if: false
775774
runs-on: ubuntu-24.04-large-js
776775
timeout-minutes: 20
777776
strategy:
@@ -900,7 +899,7 @@ jobs:
900899
job_remix_integration_tests:
901900
name: Remix v${{ matrix.remix }} (Node ${{ matrix.node }}) ${{ matrix.tracingIntegration && 'TracingIntegration'}} Tests
902901
needs: [job_get_metadata, job_build]
903-
if: needs.job_get_metadata.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
902+
if: false
904903
runs-on: ubuntu-24.04
905904
timeout-minutes: 10
906905
strategy:
@@ -944,10 +943,7 @@ jobs:
944943
# - The build job was successful, not skipped
945944
# - AND if the profiling node bindings were either successful or skipped
946945
# AND if this is not a PR from a fork or dependabot
947-
if: |
948-
always() && needs.job_build.result == 'success' &&
949-
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
950-
github.actor != 'dependabot[bot]'
946+
if: false
951947
needs: [job_get_metadata, job_build]
952948
runs-on: ubuntu-24.04-large-js
953949
timeout-minutes: 15
@@ -985,10 +981,7 @@ jobs:
985981
# Dependabot PRs sadly also don't have access to secrets, so we skip them as well
986982
# We need to add the `always()` check here because the previous step has this as well :(
987983
# See: https://github.com/actions/runner/issues/2205
988-
if:
989-
always() && needs.job_e2e_prepare.result == 'success' &&
990-
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
991-
github.actor != 'dependabot[bot]'
984+
if: false
992985
needs: [job_get_metadata, job_build, job_e2e_prepare]
993986
runs-on: ubuntu-24.04
994987
timeout-minutes: 10

0 commit comments

Comments
 (0)