mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
The previous checks for prerelease_commit_sha was incorrectly
implemented for devtools regression tests so I fixed it. I also made
some other workflows dispatchable so they can be manually run from
GitHub's UI as needed.
Test plan: https://github.com/facebook/react/actions/runs/10165564989
ghstack-source-id: b30c7b48e7
Pull Request resolved: https://github.com/facebook/react/pull/30529
32 lines
669 B
YAML
32 lines
669 B
YAML
name: (Runtime) Fuzz tests
|
|
|
|
on:
|
|
schedule:
|
|
- cron: 0 * * * *
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
TZ: /usr/share/zoneinfo/America/Los_Angeles
|
|
|
|
jobs:
|
|
test_fuzz:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4.1.0
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: 'yarn'
|
|
- name: Install dependencies
|
|
run: yarn install --frozen-lockfile
|
|
env:
|
|
ELECTRON_SKIP_BINARY_DOWNLOAD: "1"
|
|
shell: bash
|
|
- name: Run fuzz tests
|
|
run: |-
|
|
FUZZ_TEST_SEED=$RANDOM yarn test fuzz --ci
|
|
FUZZ_TEST_SEED=$RANDOM yarn test --prod fuzz --ci
|