mirror of
https://github.com/valkey-io/valkey.git
synced 2026-05-06 05:26:42 -04:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user