(Runtime) Fuzz tests #1438
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
name: (Runtime) Fuzz tests | |
on: | |
schedule: | |
- cron: 0 * * * * | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
prerelease_commit_sha: | |
required: false | |
jobs: | |
test_fuzz: | |
if: inputs.prerelease_commit_sha == '' | |
runs-on: ubuntu-latest | |
env: | |
TZ: "/usr/share/zoneinfo/America/Los_Angeles" | |
steps: | |
- uses: actions/[email protected] | |
- 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=github | |
FUZZ_TEST_SEED=$RANDOM yarn test --prod fuzz --ci=github |