forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add react@experimental testing (vercel#23359)
- Loading branch information
1 parent
ddb1e92
commit 91c29e8
Showing
6 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
on: | ||
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
- cron: '0 0,12 * * *' | ||
|
||
name: Test react@experimental | ||
|
||
jobs: | ||
# build: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
|
||
# - run: yarn install --frozen-lockfile --check-files | ||
# env: | ||
# NEXT_TELEMETRY_DISABLED: 1 | ||
|
||
# - run: yarn upgrade react@next react-dom@next -W --dev | ||
|
||
# - uses: actions/cache@v2 | ||
# id: cache-build | ||
# with: | ||
# path: ./* | ||
# key: ${{ github.sha }} | ||
|
||
testAll: | ||
name: Test All | ||
runs-on: ubuntu-latest | ||
# needs: build | ||
env: | ||
NEXT_TELEMETRY_DISABLED: 1 | ||
NEXT_PRIVATE_REACT_MODE: concurrent | ||
HEADLESS: true | ||
NEXT_PRIVATE_SKIP_SIZE_TESTS: true | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
group: [1, 2, 3, 4, 5, 6] | ||
steps: | ||
# - uses: actions/cache@v2 | ||
# id: restore-build | ||
# with: | ||
# path: ./* | ||
# key: ${{ github.sha }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- run: yarn install --frozen-lockfile --check-files | ||
|
||
- run: yarn upgrade react@experimental react-dom@experimental -W --dev | ||
|
||
# TODO: remove after we fix watchpack watching too much | ||
- run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | ||
|
||
- run: node run-tests.js --timings -g ${{ matrix.group }}/6 -c 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters