Skip to content

Commit e5bbf56

Browse files
committed
ci: disable valgrind fuzz on forks
Currently this test times out on forks (may be fixed by adjacent PR 34304) but in any case is very long-running on free GH hardware. This change disables it in forks, while retaining it in merges and PRs to the main tree.
1 parent baa554f commit e5bbf56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ jobs:
518518
name: ${{ matrix.name }}
519519
needs: runners
520520
runs-on: ${{ needs.runners.outputs.provider == 'cirrus' && matrix.cirrus-runner || matrix.fallback-runner }}
521-
if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
521+
if: ${{ (vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request') && (!matrix.cirrus-only || needs.runners.outputs.provider == 'cirrus') }}
522522
timeout-minutes: ${{ matrix.timeout-minutes }}
523523

524524
env:
@@ -580,7 +580,7 @@ jobs:
580580

581581
- name: 'Valgrind, fuzz'
582582
cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md'
583-
fallback-runner: 'ubuntu-24.04'
583+
cirrus-only: true
584584
timeout-minutes: 240
585585
file-env: './ci/test/00_setup_env_native_fuzz_with_valgrind.sh'
586586

0 commit comments

Comments
 (0)