Skip to content

Commit c01ac68

Browse files
authored
convert circleci worklfow fuzz_tests to github actions (#27801)
## Summary This pull request converts the CircleCI workflows to GitHub actions workflows. [Github Actions Importer](https://github.com/github/gh-actions-importer) was used to convert the workflows initially, then I edited them manually to correct errors in translation. ## How did you test this change? I tested these changes in a forked repo. You can [view the logs of this workflow in my fork](https://github.com/robandpdx/react/actions). https://fburl.com/workplace/f6mz6tmw
1 parent 0cdfef1 commit c01ac68

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/fuzz_tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: facebook/react/fuzz_tests
2+
on:
3+
schedule:
4+
- cron: 0 * * * *
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
inputs:
10+
prerelease_commit_sha:
11+
required: false
12+
jobs:
13+
test_fuzz:
14+
if: inputs.prerelease_commit_sha == ''
15+
runs-on: ubuntu-latest
16+
env:
17+
TZ: "/usr/share/zoneinfo/America/Los_Angeles"
18+
steps:
19+
- uses: actions/[email protected]
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version-file: '.nvmrc'
23+
cache: 'yarn'
24+
- name: Install dependencies
25+
run: yarn install --frozen-lockfile
26+
env:
27+
ELECTRON_SKIP_BINARY_DOWNLOAD: "1"
28+
shell: bash
29+
- name: Run fuzz tests
30+
run: |-
31+
FUZZ_TEST_SEED=$RANDOM yarn test fuzz --ci
32+
FUZZ_TEST_SEED=$RANDOM yarn test --prod fuzz --ci

0 commit comments

Comments
 (0)