Unverified Commit 13dc49e5 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

Disable React 18 tests on PRs (#70541)

New CI budget is not approved yet and the hydration tests are flaky.
There's no active work on Pages router so this is safe-ish to ignore to
unblock work on App router which doesn't run on the installed React
anyway.
parent e6b12321
...@@ -202,6 +202,9 @@ jobs: ...@@ -202,6 +202,9 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
exclude:
# Excluding React 18 tests unless on `canary` branch until budget is approved.
- react: ${{ github.event_name == 'pull_request' && '18.3.1' }}
group: [1/5, 2/5, 3/5, 4/5, 5/5] group: [1/5, 2/5, 3/5, 4/5, 5/5]
# Empty value uses default # Empty value uses default
react: ['', '18.3.1'] react: ['', '18.3.1']
...@@ -219,6 +222,9 @@ jobs: ...@@ -219,6 +222,9 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
exclude:
# Excluding React 18 tests unless on `canary` branch until budget is approved.
- react: ${{ github.event_name == 'pull_request' && '18.3.1' }}
group: [1/5, 2/5, 3/5, 4/5, 5/5] group: [1/5, 2/5, 3/5, 4/5, 5/5]
# Empty value uses default # Empty value uses default
react: [''] react: ['']
...@@ -237,6 +243,9 @@ jobs: ...@@ -237,6 +243,9 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
exclude:
# Excluding React 18 tests unless on `canary` branch until budget is approved.
- react: ${{ github.event_name == 'pull_request' && '18.3.1' }}
group: [1/5, 2/5, 3/5, 4/5, 5/5] group: [1/5, 2/5, 3/5, 4/5, 5/5]
# Empty value uses default # Empty value uses default
# TODO: Run with React 18. # TODO: Run with React 18.
...@@ -372,6 +381,9 @@ jobs: ...@@ -372,6 +381,9 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
exclude:
# Excluding React 18 tests unless on `canary` branch until budget is approved.
- react: ${{ github.event_name == 'pull_request' && '18.3.1' }}
group: [1/4, 2/4, 3/4, 4/4] group: [1/4, 2/4, 3/4, 4/4]
# Empty value uses default # Empty value uses default
react: ['', '18.3.1'] react: ['', '18.3.1']
...@@ -389,6 +401,9 @@ jobs: ...@@ -389,6 +401,9 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
exclude:
# Excluding React 18 tests unless on `canary` branch until budget is approved.
- react: ${{ github.event_name == 'pull_request' && '18.3.1' }}
group: [1/5, 2/5, 3/5, 4/5, 5/5] group: [1/5, 2/5, 3/5, 4/5, 5/5]
# Empty value uses default # Empty value uses default
react: ['', '18.3.1'] react: ['', '18.3.1']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment