Run ASan Tests on run-extra-tests label (#3512)

It's important to enabled ASAN on run-extra-tests label so we can
catch some of the bugs in the PRs before they are merged into unstable.

Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
This commit is contained in:
Sarthak Aggarwal
2026-04-30 21:10:29 -07:00
committed by GitHub
parent cea9354b56
commit f2f4e5dbfc
+30 -5
View File
@@ -945,7 +945,12 @@ jobs:
if: |
(github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) &&
(github.event_name == 'pull_request' &&
(github.event.pull_request.base.ref != 'unstable' ||
contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) &&
(github.event.action != 'labeled' ||
(github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests'))
)) &&
!contains(github.event.inputs.skipjobs, 'sanitizer')
timeout-minutes: 1440
strategy:
@@ -1008,7 +1013,12 @@ jobs:
if: |
(github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) &&
(github.event_name == 'pull_request' &&
(github.event.pull_request.base.ref != 'unstable' ||
contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) &&
(github.event.action != 'labeled' ||
(github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests'))
)) &&
!contains(github.event.inputs.skipjobs, 'sanitizer') &&
!contains(github.event.inputs.skiptests, 'large-memory')
timeout-minutes: 1440
@@ -1080,7 +1090,12 @@ jobs:
if: |
(github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) &&
(github.event_name == 'pull_request' &&
(github.event.pull_request.base.ref != 'unstable' ||
contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) &&
(github.event.action != 'labeled' ||
(github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests'))
)) &&
!contains(github.event.inputs.skipjobs, 'sanitizer')
timeout-minutes: 1440
strategy:
@@ -1143,7 +1158,12 @@ jobs:
if: |
(github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) &&
(github.event_name == 'pull_request' &&
(github.event.pull_request.base.ref != 'unstable' ||
contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) &&
(github.event.action != 'labeled' ||
(github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests'))
)) &&
!contains(github.event.inputs.skipjobs, 'sanitizer') &&
!contains(github.event.inputs.skiptests, 'large-memory')
timeout-minutes: 1440
@@ -1215,7 +1235,12 @@ jobs:
if: |
(github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable' && github.event.action != 'labeled')) &&
(github.event_name == 'pull_request' &&
(github.event.pull_request.base.ref != 'unstable' ||
contains(github.event.pull_request.labels.*.name, 'run-extra-tests')) &&
(github.event.action != 'labeled' ||
(github.event.pull_request.base.ref == 'unstable' && github.event.label.name == 'run-extra-tests'))
)) &&
!contains(github.event.inputs.skipjobs, 'sanitizer')
timeout-minutes: 1440
strategy: